Mercurial > hg > nginx-vendor-1-0
comparison src/http/ngx_http_upstream.c @ 504:c178dbab489a NGINX_0_8_4
nginx 0.8.4
*) Bugfix: nginx could not be built --without-http-cache; the bug had
appeared in 0.8.3.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 22 Jun 2009 00:00:00 +0400 |
parents | f0cac61857ae |
children | e8b686f230a8 |
comparison
equal
deleted
inserted
replaced
503:a73427541b68 | 504:c178dbab489a |
---|---|
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 |