optimization
diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index bd906f2..c2a8457 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c
@@ -2891,8 +2891,7 @@ sn->regex = NULL; #endif sn->core_srv_conf = cscf; - sn->name.len = value[i].len; - sn->name.data = value[i].data; + sn->name = value[i]; if (value[i].data[0] != '~') { continue; @@ -2917,8 +2916,7 @@ return NGX_CONF_ERROR; } - sn->name.len = value[i].len; - sn->name.data = value[i].data; + sn->name = value[i]; } #else ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,