diff options
author | Igor Sysoev <igor@sysoev.ru> | 2011-02-17 17:14:50 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2011-02-17 17:14:50 +0300 |
commit | 95899a3f19df162fcac3a15d280fed9c7928025a (patch) | |
tree | 0e1c888b81a4d78caa03c51e44009aa78401fa61 /src/os | |
parent | b2492255f8d061b19ff8205d40a9a5edaa132e92 (diff) |
use backlog -1 on Linux
thanks to Andrei Nigmatulin
Diffstat (limited to 'src/os')
-rw-r--r-- | src/os/unix/ngx_linux_config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h index cf45e54a1..556651c8e 100644 --- a/src/os/unix/ngx_linux_config.h +++ b/src/os/unix/ngx_linux_config.h @@ -88,7 +88,7 @@ typedef struct iocb ngx_aiocb_t; #endif -#define NGX_LISTEN_BACKLOG 511 +#define NGX_LISTEN_BACKLOG -1 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT |