Mercurial > hg > nginx-quic
changeset 5455:8f2c69418045
Fixed "setfib=" on non-first listening socket.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 03 Dec 2013 21:44:08 +0400 |
parents | 359f49a84f87 |
children | 692afcea9d0d |
files | src/http/ngx_http_core_module.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -4015,6 +4015,8 @@ ngx_http_core_listen(ngx_conf_t *cf, ngx #if (NGX_HAVE_SETFIB) if (ngx_strncmp(value[n].data, "setfib=", 7) == 0) { lsopt.setfib = ngx_atoi(value[n].data + 7, value[n].len - 7); + lsopt.set = 1; + lsopt.bind = 1; if (lsopt.setfib == NGX_ERROR) { ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,