aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_freebsd_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_freebsd_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_freebsd_config.h')
-rw-r--r--src/os/unix/ngx_freebsd_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/unix/ngx_freebsd_config.h b/src/os/unix/ngx_freebsd_config.h
index 0bf4fd525..818e230ba 100644
--- a/src/os/unix/ngx_freebsd_config.h
+++ b/src/os/unix/ngx_freebsd_config.h
@@ -77,6 +77,9 @@
#endif
+#define NGX_LISTEN_BACKLOG -1
+
+
#if (defined SO_ACCEPTFILTER && !defined NGX_HAVE_DEFERRED_ACCEPT)
#define NGX_HAVE_DEFERRED_ACCEPT 1
#endif