Mercurial > hg > nginx
diff 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 |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c Mon Jun 22 08:59:48 2009 +0000 +++ b/src/http/ngx_http_upstream.c Mon Jun 22 09:10:50 2009 +0000 @@ -318,10 +318,14 @@ ngx_http_upstream_response_length_variable, 0, NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 }, +#if (NGX_HTTP_CACHE) + { ngx_string("upstream_cache_status"), NULL, ngx_http_upstream_cache_status, 0, NGX_HTTP_VAR_NOHASH|NGX_HTTP_VAR_NOCACHEABLE, 0 }, +#endif + { ngx_null_string, NULL, NULL, 0, 0, 0 } };