Mercurial > hg > nginx-quic
comparison src/http/modules/proxy/ngx_http_proxy_upstream.c @ 499:64d9afb209da release-0.1.24
nginx-0.1.24-RELEASE import
*) 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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 04 Mar 2005 14:06:57 +0000 |
parents | d7c90bb5ce83 |
children | d4ea69372b94 |
comparison
equal
deleted
inserted
replaced
498:58fcf570b0cb | 499:64d9afb209da |
---|---|
188 var = cmcf->variables.elts; | 188 var = cmcf->variables.elts; |
189 index = p->lcf->x_vars->elts; | 189 index = p->lcf->x_vars->elts; |
190 | 190 |
191 for (i = 0; i < p->lcf->x_vars->nelts; i++) { | 191 for (i = 0; i < p->lcf->x_vars->nelts; i++) { |
192 | 192 |
193 if (!(value = ngx_http_get_variable(r, index[i]))) { | 193 if (!(value = ngx_http_get_indexed_variable(r, index[i]))) { |
194 continue; | 194 continue; |
195 } | 195 } |
196 | 196 |
197 if (value->text.len) { | 197 if (value->text.len) { |
198 len += sizeof("X-") - 1 + var[index[i]].name.len | 198 len += sizeof("X-") - 1 + var[index[i]].name.len |
377 | 377 |
378 | 378 |
379 if (p->lcf->x_vars) { | 379 if (p->lcf->x_vars) { |
380 for (i = 0; i < p->lcf->x_vars->nelts; i++) { | 380 for (i = 0; i < p->lcf->x_vars->nelts; i++) { |
381 | 381 |
382 if (!(value = ngx_http_get_variable(r, index[i]))) { | 382 if (!(value = ngx_http_get_indexed_variable(r, index[i]))) { |
383 continue; | 383 continue; |
384 } | 384 } |
385 | 385 |
386 if (value->text.len == 0) { | 386 if (value->text.len == 0) { |
387 continue; | 387 continue; |