aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_proxy_module.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-05-19 13:25:22 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-05-19 13:25:22 +0000
commite31e90b3e10ca2afafccae9a57910133d93b2d37 (patch)
tree7177a8f48a555733b170bfcad4e9e7072ea8c027 /src/http/modules/ngx_http_proxy_module.c
parentb1a641cafa2ef042035155f68e5f571303853dfc (diff)
downloadnginx-e31e90b3e10ca2afafccae9a57910133d93b2d37.tar.gz
nginx-e31e90b3e10ca2afafccae9a57910133d93b2d37.zip
nginx-0.1.32-RELEASE importrelease-0.1.32
*) Bugfix: the arguments were omitted in the redirects, issued by the "rewrite" directive; the bug had appeared in 0.1.29. *) Feature: the "if" directive supports the captures in regular expressions. *) Feature: the "set" directive supports the variables and the captures of regular expressions. *) Feature: the "X-Accel-Redirect" response header line is supported in proxy and FastCGI mode.
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, 3 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c
index 5504610e6..a24be2444 100644
--- a/src/http/modules/ngx_http_proxy_module.c
+++ b/src/http/modules/ngx_http_proxy_module.c
@@ -542,7 +542,9 @@ ngx_http_proxy_create_request(ngx_http_request_t *r)
while (*(uintptr_t *) le.ip) {
lcode = *(ngx_http_script_len_code_pt *) le.ip;
- lcode(&le);
+
+ /* skip the header line name length */
+ (void) lcode(&le);
if (*(ngx_http_script_len_code_pt *) le.ip) {