Mercurial > hg > ngx_http_upstream_keepalive
view config @ 8:565939797f5c 0.1
Keepalive: fix connection closing and avoid for loop there.
1. Adding cache item to free queue was missed.
2. Loop over all cached connections isn't optimal, replace it with simple
queue remove at cost of storing config pointer in each cache item.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 24 Oct 2008 15:51:17 +0400 |
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"