comparison src/http/ngx_http_variables.c @ 1173:2a0b86713cc6

$upstream_http_... should be uncacheable
author Igor Sysoev <igor@sysoev.ru>
date Thu, 19 Apr 2007 17:55:19 +0000
parents f59d15404269
children 0eb2dc4fdea8
comparison
equal deleted inserted replaced
1172:383ae25c3171 1173:2a0b86713cc6
1302 } 1302 }
1303 1303
1304 if (ngx_strncmp(v[i].name.data, "upstream_http_", 14) == 0) { 1304 if (ngx_strncmp(v[i].name.data, "upstream_http_", 14) == 0) {
1305 v[i].get_handler = ngx_http_upstream_header_variable; 1305 v[i].get_handler = ngx_http_upstream_header_variable;
1306 v[i].data = (uintptr_t) &v[i].name; 1306 v[i].data = (uintptr_t) &v[i].name;
1307 v[i].flags = NGX_HTTP_VAR_NOCACHABLE;
1307 1308
1308 continue; 1309 continue;
1309 } 1310 }
1310 1311
1311 ngx_log_error(NGX_LOG_EMERG, cf->log, 0, 1312 ngx_log_error(NGX_LOG_EMERG, cf->log, 0,