Mercurial > hg > ngx_http_upstream_keepalive
view config @ 19:2ce9d8a1ca93
Keepalive: fix tests for memcached 1.2.7+.
UDP ports are on by default in 1.2.7+, so we have to explicitly switch them
off to avoid conflicts when running two memcached servers.
Do it conditionally for now to keep compatibility with old memcached servers
without UDP support. Not sure it's really needed since UDP support is here
since memcached 1.2.1, probably should be done unconditionally instead.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 28 Aug 2009 20:45:15 +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"