diff src/os/unix/ngx_linux_config.h @ 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 6060225e9261
children 5cecc8377613
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