Aliaksandr Valialkin
|
146145240d
|
Added RequestCtx.Hijack() for connections' hijacking
|
2015-11-23 19:41:43 +02:00 |
|
Aliaksandr Valialkin
|
bb38369834
|
Suppress too chatty 'reset by peer' errors when serving clients, which unexpectedly close connections
|
2015-11-23 13:01:36 +02:00 |
|
Aliaksandr Valialkin
|
76f453b7fc
|
Suppress too chatty 'broken pipe' errors when serving clients, which unexpectedly close connections
|
2015-11-23 12:57:37 +02:00 |
|
Aliaksandr Valialkin
|
6e4b32182e
|
Fixed panic when WorkerFunc returns error and Conn is closed
|
2015-11-12 14:01:04 +02:00 |
|
Aliaksandr Valialkin
|
f4223fbb70
|
Added missing unlock when stopping worker pool
|
2015-11-11 18:08:15 +02:00 |
|
Aliaksandr Valialkin
|
a4e8e226ff
|
Removed dubious loop for obtaining free worker - just increase the number of workers if 'no free workers' error occur
|
2015-11-11 16:39:59 +02:00 |
|
Aliaksandr Valialkin
|
69758b81d6
|
Accept net.Conn instead of io.ReadWriteCloser in Serve*() methods, since in reality we use net.Conn methods such as RemoteAddr, SetReadDeadline and SetWriteDeadline
|
2015-11-11 16:17:12 +02:00 |
|
Aliaksandr Valialkin
|
ae6a7cc17c
|
Extracted workerPool from server.go into workerpool.go
|
2015-11-11 15:27:27 +02:00 |
|