Welcome! Log In Create A New Profile

Advanced

[nginx] Scgi: do not push redundant NULL element into conf->params.

Roman Arutyunyan
November 19, 2014 09:38AM
details: http://hg.nginx.org/nginx/rev/548f704c1907
branches:
changeset: 5906:548f704c1907
user: Roman Arutyunyan <arut@nginx.com>
date: Wed Nov 19 17:33:21 2014 +0300
description:
Scgi: do not push redundant NULL element into conf->params.

diffstat:

src/http/modules/ngx_http_scgi_module.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)

diffs (17 lines):

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 @@ ngx_http_scgi_merge_params(ngx_conf_t *c

*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;

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

[nginx] Scgi: do not push redundant NULL element into conf->params.

Roman Arutyunyan 530 November 19, 2014 09:38AM



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

Online Users

Guests: 268
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready