Mercurial > hg > nginx
comparison src/os/unix/ngx_linux_config.h @ 1506:1a1fe29fdb17 stable-0.5
r1378 merge:
set default listen() backlog to 511 on all platforms except FreeBSD
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 22 Sep 2007 18:59:05 +0000 |
parents | 532d15ddbe68 |
children | 379ee44a4456 |
comparison
equal
deleted
inserted
replaced
1505:f552535e259b | 1506:1a1fe29fdb17 |
---|---|
76 #if (NGX_HAVE_EPOLL) | 76 #if (NGX_HAVE_EPOLL) |
77 #include <sys/epoll.h> | 77 #include <sys/epoll.h> |
78 #endif | 78 #endif |
79 | 79 |
80 | 80 |
81 #define NGX_LISTEN_BACKLOG 511 | |
82 | |
83 | |
81 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT | 84 #if defined TCP_DEFER_ACCEPT && !defined NGX_HAVE_DEFERRED_ACCEPT |
82 #define NGX_HAVE_DEFERRED_ACCEPT 1 | 85 #define NGX_HAVE_DEFERRED_ACCEPT 1 |
83 #endif | 86 #endif |
84 | 87 |
85 | 88 |