aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/proxy/ngx_http_proxy_upstream.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-03-04 14:06:57 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-03-04 14:06:57 +0000
commit8184d1b3a72c31e7e6492fc189d687ce85548279 (patch)
tree34e977c47f852d35117464b3cd5e82253fb4fa04 /src/http/modules/proxy/ngx_http_proxy_upstream.c
parent7ad4a94eee3e17e073d6e8b638b7bd0a2209d2df (diff)
downloadnginx-8184d1b3a72c31e7e6492fc189d687ce85548279.tar.gz
nginx-8184d1b3a72c31e7e6492fc189d687ce85548279.zip
nginx-0.1.24-RELEASE importrelease-0.1.24
*) Feature: the ngx_http_ssi_filter_module supports the QUERY_STRING and DOCUMENT_URI variables. *) Bugfix: the ngx_http_autoindex_module may some times return the 404 response for existent directory, if this directory was used in "alias" directive. *) Bugfix: the ngx_http_ssi_filter_module ran incorrectly for large responses. *) Bugfix: the lack of the "Referer" header line was always accounted as valid referrer.
Diffstat (limited to 'src/http/modules/proxy/ngx_http_proxy_upstream.c')
-rw-r--r--src/http/modules/proxy/ngx_http_proxy_upstream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/modules/proxy/ngx_http_proxy_upstream.c b/src/http/modules/proxy/ngx_http_proxy_upstream.c
index e35433b08..061ab9f0e 100644
--- a/src/http/modules/proxy/ngx_http_proxy_upstream.c
+++ b/src/http/modules/proxy/ngx_http_proxy_upstream.c
@@ -190,7 +190,7 @@ static ngx_chain_t *ngx_http_proxy_create_request(ngx_http_proxy_ctx_t *p)
for (i = 0; i < p->lcf->x_vars->nelts; i++) {
- if (!(value = ngx_http_get_variable(r, index[i]))) {
+ if (!(value = ngx_http_get_indexed_variable(r, index[i]))) {
continue;
}
@@ -379,7 +379,7 @@ static ngx_chain_t *ngx_http_proxy_create_request(ngx_http_proxy_ctx_t *p)
if (p->lcf->x_vars) {
for (i = 0; i < p->lcf->x_vars->nelts; i++) {
- if (!(value = ngx_http_get_variable(r, index[i]))) {
+ if (!(value = ngx_http_get_indexed_variable(r, index[i]))) {
continue;
}