use backlog -1 on Linux

thanks to Andrei Nigmatulin
This commit is contained in:
Igor Sysoev 2011-02-17 14:14:50 +00:00
parent b2492255f8
commit 95899a3f19

View File

@ -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