comparison src/http/modules/ngx_http_proxy_module.c @ 502:f0cac61857ae NGINX_0_8_3

nginx 0.8.3 *) Feature: the $upstream_cache_status variable. *) Bugfix: nginx could not be built on MacOSX 10.6. the bug had appeared in 0.8.2. *) Bugfix: nginx could not be built --without-http-cache; the bug had appeared in 0.8.2. *) Bugfix: a segmentation fault occurred in worker process, if a backend 401 error was intercepted and the backend did not set the "WWW-Authenticate" response header line. Thanks to Eugene Mychlo.
author Igor Sysoev <http://sysoev.ru>
date Fri, 19 Jun 2009 00:00:00 +0400
parents 207ae3ff0444
children 24b676623d4f
comparison
equal deleted inserted replaced
501:531b6bbae529 502:f0cac61857ae
2341 conf->headers_set_hash = prev->headers_set_hash; 2341 conf->headers_set_hash = prev->headers_set_hash;
2342 conf->headers_source = prev->headers_source; 2342 conf->headers_source = prev->headers_source;
2343 } 2343 }
2344 2344
2345 if (conf->headers_set_hash.buckets 2345 if (conf->headers_set_hash.buckets
2346 && ((conf->upstream.cache == NULL) == (prev->upstream.cache == NULL))) 2346 #if (NGX_HTTP_CACHE)
2347 && ((conf->upstream.cache == NULL) == (prev->upstream.cache == NULL))
2348 #endif
2349 )
2347 { 2350 {
2348 return NGX_OK; 2351 return NGX_OK;
2349 } 2352 }
2350 2353
2351 2354