# HG changeset patch # User Igor Sysoev # Date 1297952090 0 # Node ID f596dd1a6d33e4d52ed0db1c627299cde475f322 # Parent f4c49c9e4bb5e79bbc577f4b0060d26486af5a97 use backlog -1 on Linux thanks to Andrei Nigmatulin 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 511 +#define NGX_LISTEN_BACKLOG -1 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT