Mercurial > hg > nginx
comparison src/os/unix/ngx_linux_config.h @ 3863:f596dd1a6d33
use backlog -1 on Linux
thanks to Andrei Nigmatulin
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 17 Feb 2011 14:14:50 +0000 |
parents | 6060225e9261 |
children | 5cecc8377613 |
comparison
equal
deleted
inserted
replaced
3862:f4c49c9e4bb5 | 3863:f596dd1a6d33 |
---|---|
86 #include <linux/aio_abi.h> | 86 #include <linux/aio_abi.h> |
87 typedef struct iocb ngx_aiocb_t; | 87 typedef struct iocb ngx_aiocb_t; |
88 #endif | 88 #endif |
89 | 89 |
90 | 90 |
91 #define NGX_LISTEN_BACKLOG 511 | 91 #define NGX_LISTEN_BACKLOG -1 |
92 | 92 |
93 | 93 |
94 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT | 94 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT |
95 #define NGX_HAVE_DEFERRED_ACCEPT 1 | 95 #define NGX_HAVE_DEFERRED_ACCEPT 1 |
96 #endif | 96 #endif |