Mercurial > hg > nginx
diff src/mail/ngx_mail_core_module.c @ 6863:54cf51c4f07a
Stream: speed up TCP peer recovery.
Previously, an unavailable peer was considered recovered after a successful
proxy session to this peer. Until then, only a single client connection per
fail_timeout was allowed to be proxied to the peer.
Since stream sessions can be long, it may take indefinite time for a peer to
recover, limiting the ability of the peer to receive new connections.
Now, a peer is considered recovered after a successful TCP connection is
established to it. Balancers are notified of this event via the notify()
callback.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Mon, 26 Dec 2016 14:27:05 +0300 |
parents | cebf5fed00bf |
children | 6c13008ad503 |