changeset 3863:f596dd1a6d33

use backlog -1 on Linux thanks to Andrei Nigmatulin
author Igor Sysoev <igor@sysoev.ru>
date Thu, 17 Feb 2011 14:14:50 +0000
parents f4c49c9e4bb5
children 8e77b5216894
files src/os/unix/ngx_linux_config.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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