micro/transport
Jelmer Snoeck af0028d821 HTTPTransport: implement queue for listener.
Before this patch, when an error occurs in trying to accept a connection
from the listener, the error would be returned. This also happened on
temporary issues like `too many open files`.

Temporary issues are "self-healing" and will resolve over time. This
means that we can put the requests in a queue to wait until the issue is
resolved and start processing the connections once it is resolved.

This patch implements such mechanism, as copied from the standard
library http package. It will retry temporary errors but will return
permanent errors (or errors that are not from the net.Error type).
2016-04-01 13:10:18 +01:00
..
http http bench test 2016-03-19 15:29:04 +00:00
mock That should be a listener exit 2016-03-18 19:24:44 +00:00
http_transport_test.go Transport init 2016-03-15 22:25:32 +00:00
http_transport.go HTTPTransport: implement queue for listener. 2016-04-01 13:10:18 +01:00
options.go Transport init 2016-03-15 22:25:32 +00:00
transport.go Transport init 2016-03-15 22:25:32 +00:00