commit | ded2a7c1af0a03de2b749930230209ec56680c31 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Mon Feb 15 19:38:59 2010 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Mon Feb 15 19:38:59 2010 +0000 |
tree | ec09500356072d0866ee8861acfc86ae4173054a | |
parent | 070f0a865b5d2fb9d20ee466dc01bec02086d02a [diff] |
fix $upstream_http_ variable prefix length
diff --git a/src/http/ngx_http_variables.c b/src/http/ngx_http_variables.c index 150c4e2..713df22 100644 --- a/src/http/ngx_http_variables.c +++ b/src/http/ngx_http_variables.c
@@ -494,7 +494,7 @@ return NULL; } - if (ngx_strncmp(name->data, "upstream_http_", 10) == 0) { + if (ngx_strncmp(name->data, "upstream_http_", 14) == 0) { if (ngx_http_upstream_header_variable(r, vv, (uintptr_t) name) == NGX_OK)