comparison src/http/modules/ngx_http_fastcgi_module.c @ 3562:e2d54eb7472e

rename variable to conform to the next commit
author Igor Sysoev <igor@sysoev.ru>
date Thu, 03 Jun 2010 16:42:07 +0000
parents a36c63c6d26a
children 90d7227d47bf
comparison
equal deleted inserted replaced
3561:20708cffd6dc 3562:e2d54eb7472e
2019 ngx_http_fastcgi_loc_conf_t *conf = child; 2019 ngx_http_fastcgi_loc_conf_t *conf = child;
2020 2020
2021 u_char *p; 2021 u_char *p;
2022 size_t size; 2022 size_t size;
2023 uintptr_t *code; 2023 uintptr_t *code;
2024 ngx_str_t *h; 2024 ngx_str_t *hide;
2025 ngx_uint_t i; 2025 ngx_uint_t i;
2026 ngx_array_t headers_names; 2026 ngx_array_t headers_names;
2027 ngx_keyval_t *src; 2027 ngx_keyval_t *src;
2028 ngx_hash_key_t *hk; 2028 ngx_hash_key_t *hk;
2029 ngx_hash_init_t hash; 2029 ngx_hash_init_t hash;
2247 hash.bucket_size = ngx_align(64, ngx_cacheline_size); 2247 hash.bucket_size = ngx_align(64, ngx_cacheline_size);
2248 hash.name = "fastcgi_hide_headers_hash"; 2248 hash.name = "fastcgi_hide_headers_hash";
2249 2249
2250 #if (NGX_HTTP_CACHE) 2250 #if (NGX_HTTP_CACHE)
2251 2251
2252 h = conf->upstream.cache ? ngx_http_fastcgi_hide_cache_headers: 2252 hide = conf->upstream.cache ? ngx_http_fastcgi_hide_cache_headers:
2253 ngx_http_fastcgi_hide_headers; 2253 ngx_http_fastcgi_hide_headers;
2254 #else 2254 #else
2255 2255
2256 h = ngx_http_fastcgi_hide_headers; 2256 hide = ngx_http_fastcgi_hide_headers;
2257 2257
2258 #endif 2258 #endif
2259 2259
2260 if (ngx_http_upstream_hide_headers_hash(cf, &conf->upstream, 2260 if (ngx_http_upstream_hide_headers_hash(cf, &conf->upstream,
2261 &prev->upstream, h, &hash) 2261 &prev->upstream, hide, &hash)
2262 != NGX_OK) 2262 != NGX_OK)
2263 { 2263 {
2264 return NGX_CONF_ERROR; 2264 return NGX_CONF_ERROR;
2265 } 2265 }
2266 2266