aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_proxy_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-05-26 18:12:40 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-05-26 18:12:40 +0000
commit403d2443a38f0df9da01c6649ddfd49ab4b6a7e2 (patch)
tree21383258d4f7718cafe79604aa2af63e993620ab /src/http/modules/ngx_http_proxy_module.c
parent3144ab6c01a5776947a5cb60e04f1b1ba69ad9e0 (diff)
downloadnginx-release-0.1.34.tar.gz
nginx-release-0.1.34.zip
nginx-0.1.34-RELEASE importrelease-0.1.34
*) Bugfix: the worker process may got caught in an endless loop if the big response part were include by SSI. *) Bugfix: the variables set by the "set" directive were not available in SSI. *) Feature: the "autoindex_localtime" directive. *) Bugfix: the empty value of the "proxy_set_header" directive forbids the client request header line passing.
Diffstat (limited to 'src/http/modules/ngx_http_proxy_module.c')
-rw-r--r--src/http/modules/ngx_http_proxy_module.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
index 92dd6cc9c..0211dab06 100644
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -1576,6 +1576,10 @@ ngx_http_proxy_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child)
*name = src[i].key;
+ if (src[i].value.len == 0) {
+ continue;
+ }
+
if (ngx_http_script_variables_count(&src[i].value) == 0) {
copy = ngx_array_push_n(conf->headers_set_len,
sizeof(ngx_http_script_copy_code_t));