diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-08-09 13:32:21 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-08-09 13:32:21 +0000 |
commit | 031a6e2906592b4f5bfa6f21eb2fe2d49478139c (patch) | |
tree | 67e14f14f15a761e0c4112b46886100ae07735d0 /src/mail/ngx_mail.c | |
parent | 3625a458d9a29943aa7891296ef2dd3e9933f9a8 (diff) | |
download | nginx-031a6e2906592b4f5bfa6f21eb2fe2d49478139c.tar.gz nginx-031a6e2906592b4f5bfa6f21eb2fe2d49478139c.zip |
set default listen() backlog to 511 on all platforms except FreeBSD
Diffstat (limited to 'src/mail/ngx_mail.c')
-rw-r--r-- | src/mail/ngx_mail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mail/ngx_mail.c b/src/mail/ngx_mail.c index ec74e6f03..a39bec4a4 100644 --- a/src/mail/ngx_mail.c +++ b/src/mail/ngx_mail.c @@ -300,7 +300,7 @@ ngx_mail_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) return NGX_CONF_ERROR; } - ls->backlog = -1; + ls->backlog = NGX_LISTEN_BACKLOG; ls->rcvbuf = -1; ls->sndbuf = -1; |