From 95899a3f19df162fcac3a15d280fed9c7928025a Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 17 Feb 2011 14:14:50 +0000 Subject: use backlog -1 on Linux thanks to Andrei Nigmatulin --- src/os/unix/ngx_linux_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/os/unix/ngx_linux_config.h b/src/os/unix/ngx_linux_config.h index cf45e54a1..556651c8e 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 511 +#define NGX_LISTEN_BACKLOG -1 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT -- cgit v1.2.3