Mercurial > hg > nginx-quic
comparison src/mail/ngx_mail.c @ 6976:6c13008ad503
Mail: configurable socket buffer sizes.
The "rcvbuf" and "sndbuf" parameters are now supported by
the "listen" directive.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Mon, 03 Apr 2017 17:30:34 +0300 |
parents | cebf5fed00bf |
children | 4f9b72a229c1 |
comparison
equal
deleted
inserted
replaced
6975:d7ce41bdf050 | 6976:6c13008ad503 |
---|---|
331 ls->logp = cscf->error_log; | 331 ls->logp = cscf->error_log; |
332 ls->log.data = &ls->addr_text; | 332 ls->log.data = &ls->addr_text; |
333 ls->log.handler = ngx_accept_log_error; | 333 ls->log.handler = ngx_accept_log_error; |
334 | 334 |
335 ls->backlog = addr[i].opt.backlog; | 335 ls->backlog = addr[i].opt.backlog; |
336 ls->rcvbuf = addr[i].opt.rcvbuf; | |
337 ls->sndbuf = addr[i].opt.sndbuf; | |
336 | 338 |
337 ls->keepalive = addr[i].opt.so_keepalive; | 339 ls->keepalive = addr[i].opt.so_keepalive; |
338 #if (NGX_HAVE_KEEPALIVE_TUNABLE) | 340 #if (NGX_HAVE_KEEPALIVE_TUNABLE) |
339 ls->keepidle = addr[i].opt.tcp_keepidle; | 341 ls->keepidle = addr[i].opt.tcp_keepidle; |
340 ls->keepintvl = addr[i].opt.tcp_keepintvl; | 342 ls->keepintvl = addr[i].opt.tcp_keepintvl; |