comparison src/http/ngx_http_upstream.c @ 2957:b4f39842523b

fix building --without-http-cache, broken in r2953
author Igor Sysoev <igor@sysoev.ru>
date Mon, 22 Jun 2009 09:10:50 +0000
parents aa12525236da
children 87ddbe960172
comparison
equal deleted inserted replaced
2956:ffa9d28e90d3 2957:b4f39842523b
316 316
317 { ngx_string("upstream_response_length"), NULL, 317 { ngx_string("upstream_response_length"), NULL,
318 ngx_http_upstream_response_length_variable, 0, 318 ngx_http_upstream_response_length_variable, 0,
319 NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 }, 319 NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 },
320 320
321 #if (NGX_HTTP_CACHE)
322
321 { ngx_string("upstream_cache_status"), NULL, 323 { ngx_string("upstream_cache_status"), NULL,
322 ngx_http_upstream_cache_status, 0, 324 ngx_http_upstream_cache_status, 0,
323 NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 }, 325 NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 },
326
327 #endif
324 328
325 { ngx_null_string, NULL, NULL, 0, 0, 0 } 329 { ngx_null_string, NULL, NULL, 0, 0, 0 }
326 }; 330 };
327 331
328 332