aboutsummaryrefslogtreecommitdiff
path: root/src/os/win32/ngx_win32_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/win32/ngx_win32_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/win32/ngx_win32_config.h')
-rw-r--r--src/os/win32/ngx_win32_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/win32/ngx_win32_config.h b/src/os/win32/ngx_win32_config.h
index ceb934982..9dc8ca8a4 100644
--- a/src/os/win32/ngx_win32_config.h
+++ b/src/os/win32/ngx_win32_config.h
@@ -149,6 +149,9 @@ typedef int sig_atomic_t;
#define NGX_WIN_NT 200000
+#define NGX_LISTEN_BACKLOG 511
+
+
#ifndef NGX_HAVE_INHERITED_NONBLOCK
#define NGX_HAVE_INHERITED_NONBLOCK 1
#endif