commit | 031a6e2906592b4f5bfa6f21eb2fe2d49478139c | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Thu Aug 09 13:32:21 2007 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Thu Aug 09 13:32:21 2007 +0000 |
tree | 67e14f14f15a761e0c4112b46886100ae07735d0 | |
parent | 3625a458d9a29943aa7891296ef2dd3e9933f9a8 [diff] [blame] |
set default listen() backlog to 511 on all platforms except FreeBSD
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c index 9d22ac6..87219f2 100644 --- a/src/core/ngx_connection.c +++ b/src/core/ngx_connection.c
@@ -123,7 +123,7 @@ ntohs(sin->sin_port)) - ls[i].addr_text.data; - ls[i].backlog = -1; + ls[i].backlog = NGX_LISTEN_BACKLOG; olen = sizeof(int);