]> git.kaiwu.me - nginx.git/commitdiff
use backlog -1 on Linux
authorIgor Sysoev <igor@sysoev.ru>
Thu, 17 Feb 2011 14:14:50 +0000 (14:14 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 17 Feb 2011 14:14:50 +0000 (14:14 +0000)
thanks to Andrei Nigmatulin

src/os/unix/ngx_linux_config.h

index cf45e54a19170317c45f37922c93a90532004cd3..556651c8e43f3b1e17881b8886ea6e8e6694f1f8 100644 (file)
@@ -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