Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2011-02-17 17:14:50 +0300
committerIgor Sysoev <igor@sysoev.ru>2011-02-17 17:14:50 +0300
commit95899a3f19df162fcac3a15d280fed9c7928025a (patch)
tree0e1c888b81a4d78caa03c51e44009aa78401fa61 /src
parentb2492255f8d061b19ff8205d40a9a5edaa132e92 (diff)
use backlog -1 on Linux
thanks to Andrei Nigmatulin
Diffstat (limited to 'src')
-rw-r--r--src/os/unix/ngx_linux_config.h2
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