Mercurial > hg > nginx
comparison auto/unix @ 4323:c4513d4dd024
Added the "so_keepalive=" parameter to the "listen" directive.
The "so_keepalive" directive in mail module was deprecated.
Thanks to Vsevolod Stakhov for initial work.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 05 Dec 2011 08:06:15 +0000 |
parents | 52c881519427 |
children | d620f497c50f |
comparison
equal
deleted
inserted
replaced
4322:acd8d267f557 | 4323:c4513d4dd024 |
---|---|
323 #include <netinet/in.h> | 323 #include <netinet/in.h> |
324 #include <netinet/tcp.h>" | 324 #include <netinet/tcp.h>" |
325 ngx_feature_path= | 325 ngx_feature_path= |
326 ngx_feature_libs= | 326 ngx_feature_libs= |
327 ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_DEFER_ACCEPT, NULL, 0)" | 327 ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_DEFER_ACCEPT, NULL, 0)" |
328 . auto/feature | |
329 | |
330 | |
331 ngx_feature="TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT" | |
332 ngx_feature_name="NGX_HAVE_KEEPALIVE_TUNABLE" | |
333 ngx_feature_run=no | |
334 ngx_feature_incs="#include <sys/socket.h> | |
335 #include <netinet/in.h> | |
336 #include <netinet/tcp.h>" | |
337 ngx_feature_path= | |
338 ngx_feature_libs= | |
339 ngx_feature_test="setsockopt(0, IPPROTO_TCP, TCP_KEEPIDLE, NULL, 0); | |
340 setsockopt(0, IPPROTO_TCP, TCP_KEEPINTVL, NULL, 0); | |
341 setsockopt(0, IPPROTO_TCP, TCP_KEEPCNT, NULL, 0)" | |
328 . auto/feature | 342 . auto/feature |
329 | 343 |
330 | 344 |
331 ngx_feature="accept4()" | 345 ngx_feature="accept4()" |
332 ngx_feature_name="NGX_HAVE_ACCEPT4" | 346 ngx_feature_name="NGX_HAVE_ACCEPT4" |