# HG changeset patch # User Roman Arutyunyan # Date 1416407601 -10800 # Node ID 548f704c1907e6ae88755386ed8301aebc1da998 # Parent 2f7e557eab5b501ba71418febd3de9ef1c0ab4f1 Scgi: do not push redundant NULL element into conf->params. diff -r 2f7e557eab5b -r 548f704c1907 src/http/modules/ngx_http_scgi_module.c --- a/src/http/modules/ngx_http_scgi_module.c Tue Nov 18 20:41:12 2014 +0300 +++ b/src/http/modules/ngx_http_scgi_module.c Wed Nov 19 17:33:21 2014 +0300 @@ -1670,13 +1670,6 @@ *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; hash.hash = &conf->headers_hash;