diff options
| author | 2012-02-18 11:20:21 +0000 | |
|---|---|---|
| committer | 2012-02-18 11:20:21 +0000 | |
| commit | 5fae4203d5006620c06fc511154d915fa178bddc (patch) | |
| tree | 99af4f7ac830c3cd0f303afe87f92dd20f44e8b5 /usr.sbin/nginx/src/http/modules/ngx_http_fastcgi_module.c | |
| parent | Extend after recent msdos support. (diff) | |
| download | wireguard-openbsd-5fae4203d5006620c06fc511154d915fa178bddc.tar.xz wireguard-openbsd-5fae4203d5006620c06fc511154d915fa178bddc.zip | |
update to 1.0.12
Diffstat (limited to 'usr.sbin/nginx/src/http/modules/ngx_http_fastcgi_module.c')
| -rw-r--r-- | usr.sbin/nginx/src/http/modules/ngx_http_fastcgi_module.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/nginx/src/http/modules/ngx_http_fastcgi_module.c b/usr.sbin/nginx/src/http/modules/ngx_http_fastcgi_module.c index dd555d49d70..5ae42ef628f 100644 --- a/usr.sbin/nginx/src/http/modules/ngx_http_fastcgi_module.c +++ b/usr.sbin/nginx/src/http/modules/ngx_http_fastcgi_module.c @@ -1,6 +1,7 @@ /* * Copyright (C) Igor Sysoev + * Copyright (C) Nginx, Inc. */ @@ -2214,6 +2215,10 @@ ngx_http_fastcgi_merge_loc_conf(ngx_conf_t *cf, void *parent, void *child) |NGX_HTTP_UPSTREAM_FT_OFF; } + if (conf->upstream.cache_use_stale & NGX_HTTP_UPSTREAM_FT_ERROR) { + conf->upstream.cache_use_stale |= NGX_HTTP_UPSTREAM_FT_NOLIVE; + } + if (conf->upstream.cache_methods == 0) { conf->upstream.cache_methods = prev->upstream.cache_methods; } |
