Welcome! Log In Create A New Profile

Advanced

[nginx] Fixed "setfib=" on non-first listening socket.

Maxim Dounin
December 03, 2013 01:16PM
details: http://hg.nginx.org/nginx/rev/8f2c69418045
branches:
changeset: 5455:8f2c69418045
user: Maxim Dounin <mdounin@mdounin.ru>
date: Tue Dec 03 21:44:08 2013 +0400
description:
Fixed "setfib=" on non-first listening socket.

diffstat:

src/http/ngx_http_core_module.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c
--- 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,

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Fixed "setfib=" on non-first listening socket.

Maxim Dounin 818 December 03, 2013 01:16PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 97
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready