mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Scgi: do not push redundant NULL element into conf->params.
This commit is contained in:
parent
2628cc11d4
commit
3b33056522
@ -1670,13 +1670,6 @@ ngx_http_scgi_merge_params(ngx_conf_t *cf, ngx_http_scgi_loc_conf_t *conf,
|
|||||||
|
|
||||||
*code = (uintptr_t) NULL;
|
*code = (uintptr_t) NULL;
|
||||||
|
|
||||||
code = ngx_array_push_n(conf->params, sizeof(uintptr_t));
|
|
||||||
if (code == NULL) {
|
|
||||||
return NGX_ERROR;
|
|
||||||
}
|
|
||||||
|
|
||||||
*code = (uintptr_t) NULL;
|
|
||||||
|
|
||||||
conf->header_params = headers_names.nelts;
|
conf->header_params = headers_names.nelts;
|
||||||
|
|
||||||
hash.hash = &conf->headers_hash;
|
hash.hash = &conf->headers_hash;
|
||||||
|
Loading…
Reference in New Issue
Block a user