Mercurial > hg > nginx
comparison src/mail/ngx_mail.c @ 1377:0d57c150115b
set default listen() backlog to 511 on all platforms except FreeBSD
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 09 Aug 2007 13:32:21 +0000 |
parents | c6c33f81fd79 |
children | f69493e8faab |
comparison
equal
deleted
inserted
replaced
1376:6ff8c0c1e194 | 1377:0d57c150115b |
---|---|
298 in_port[p].port); | 298 in_port[p].port); |
299 if (ls == NULL) { | 299 if (ls == NULL) { |
300 return NGX_CONF_ERROR; | 300 return NGX_CONF_ERROR; |
301 } | 301 } |
302 | 302 |
303 ls->backlog = -1; | 303 ls->backlog = NGX_LISTEN_BACKLOG; |
304 ls->rcvbuf = -1; | 304 ls->rcvbuf = -1; |
305 ls->sndbuf = -1; | 305 ls->sndbuf = -1; |
306 | 306 |
307 ls->addr_ntop = 1; | 307 ls->addr_ntop = 1; |
308 ls->handler = ngx_mail_init_connection; | 308 ls->handler = ngx_mail_init_connection; |