| commit | 95899a3f19df162fcac3a15d280fed9c7928025a | [log] [tgz] |
|---|---|---|
| author | Igor Sysoev <igor@sysoev.ru> | Thu Feb 17 14:14:50 2011 +0000 |
| committer | Igor Sysoev <igor@sysoev.ru> | Thu Feb 17 14:14:50 2011 +0000 |
| tree | 0e1c888b81a4d78caa03c51e44009aa78401fa61 | |
| parent | b2492255f8d061b19ff8205d40a9a5edaa132e92 [diff] |
use backlog -1 on Linux thanks to Andrei Nigmatulin
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h index cf45e54..556651c 100644 --- a/src/os/unix/ngx_linux_config.h +++ b/src/os/unix/ngx_linux_config.h
@@ -88,7 +88,7 @@ #endif -#define NGX_LISTEN_BACKLOG 511 +#define NGX_LISTEN_BACKLOG -1 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT