view config @ 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 725ee11164f3
children
line wrap: on
line source

ngx_addon_name="ngx_http_upstream_keepalive_module"

HTTP_MODULES="$HTTP_MODULES \
	ngx_http_upstream_keepalive_module"

NGX_ADDON_SRCS="$NGX_ADDON_SRCS \
	$ngx_addon_dir/ngx_http_upstream_keepalive_module.c"