# HG changeset patch # User Igor Sysoev # Date 1303579675 0 # Node ID 5cecc83776135b3a6c1e446074803c75e00afd09 # Parent 159b58f9c0bd895efbd5b0a72d5e34cedddfe5a0 revert r3864, it may cause kernel panic on some kernels while working with IPv6 diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h --- 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