aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_posix_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-08-09 13:32:21 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-08-09 13:32:21 +0000
commit031a6e2906592b4f5bfa6f21eb2fe2d49478139c (patch)
tree67e14f14f15a761e0c4112b46886100ae07735d0 /src/os/unix/ngx_posix_config.h
parent3625a458d9a29943aa7891296ef2dd3e9933f9a8 (diff)
downloadnginx-031a6e2906592b4f5bfa6f21eb2fe2d49478139c.tar.gz
nginx-031a6e2906592b4f5bfa6f21eb2fe2d49478139c.zip
set default listen() backlog to 511 on all platforms except FreeBSD
Diffstat (limited to 'src/os/unix/ngx_posix_config.h')
-rw-r--r--src/os/unix/ngx_posix_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/unix/ngx_posix_config.h b/src/os/unix/ngx_posix_config.h
index 8a9509960..f79657654 100644
--- a/src/os/unix/ngx_posix_config.h
+++ b/src/os/unix/ngx_posix_config.h
@@ -88,6 +88,9 @@
#endif
+#define NGX_LISTEN_BACKLOG 511
+
+
#if (__FreeBSD__) && (__FreeBSD_version < 400017)
#include <sys/param.h> /* ALIGN() */