Mercurial > hg > ngx_http_upstream_keepalive
comparison CHANGES @ 24:2ee28064a04a 0.4
Keepalive: correctly close connections on gracefull shutdown.
On gracefull shutdown nginx calls read handler on all idle connections with
c->close set. Make sure we don't confuse such read handler calls with stale
events and actually close connections. This fixes "open socket ... left
in connection ..." alerts.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 15 Dec 2010 21:12:36 +0300 |
parents | f3e74fbd0f0b |
children | a84573f16a0c |
comparison
equal
deleted
inserted
replaced
23:cad8bc39d98d | 24:2ee28064a04a |
---|---|
1 | |
2 Changes with upstream keepalive module 0.4 (2010-12-15): | |
3 | |
4 *) Bugfix: the "[alert] ... open socket ... left in connection ..." | |
5 messages were logged on nginx worker process gracefull exit for | |
6 each cached connection; the bug had appeared in 0.3. | |
7 | |
1 | 8 |
2 Changes with upstream keepalive module 0.3 (2010-09-14): | 9 Changes with upstream keepalive module 0.3 (2010-09-14): |
3 | 10 |
4 *) Bugfix: cached connections might be closed needlessly. | 11 *) Bugfix: cached connections might be closed needlessly. |
5 Thanks to Martin Fjordvald. | 12 Thanks to Martin Fjordvald. |