changeset 3903:5cecc8377613

revert r3864, it may cause kernel panic on some kernels while working with IPv6
author Igor Sysoev <igor@sysoev.ru>
date Sat, 23 Apr 2011 17:27:55 +0000
parents 159b58f9c0bd
children 77f667dd0504
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        -1
+#define NGX_LISTEN_BACKLOG        511
 
 
 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT