From 2bd01a0f0196d7915e8bf54f4966ad240593564b Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sat, 23 Apr 2011 17:27:55 +0000 Subject: revert r3864, it may cause kernel panic on some kernels while working with IPv6 --- src/os/unix/ngx_linux_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os/unix') diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h index 556651c8e..cf45e54a1 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 -1 +#define NGX_LISTEN_BACKLOG 511 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT -- cgit