diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-05-19 13:27:27 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-05-19 13:27:27 +0000 |
| commit | 5ed3691b6e252d0612f96f50a992b6e1982f350d (patch) | |
| tree | bacc9fb1ae5a1abf16b39373dcb547325d04f1a0 /src/http/ngx_http_upstream.h | |
| parent | 980491302ba124377c8d379fb9a4c411b0cbab6d (diff) | |
| download | nginx-5ed3691b6e252d0612f96f50a992b6e1982f350d.tar.gz nginx-5ed3691b6e252d0612f96f50a992b6e1982f350d.tar.bz2 | |
proxy_cache_methods and fastcgi_cache_methods
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_upstream.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h index 95b396ee6..488aed5a8 100644 --- a/src/http/ngx_http_upstream.h +++ b/src/http/ngx_http_upstream.h @@ -156,6 +156,7 @@ typedef struct { ngx_uint_t cache_min_uses; ngx_uint_t cache_use_stale; + ngx_uint_t cache_methods; ngx_array_t *cache_valid; #endif @@ -327,7 +328,9 @@ ngx_int_t ngx_http_upstream_hide_headers_hash(ngx_conf_t *cf, uscf->srv_conf[module.ctx_index] -extern ngx_module_t ngx_http_upstream_module; +extern ngx_module_t ngx_http_upstream_module; +extern ngx_conf_bitmask_t ngx_http_upstream_cache_method_mask[]; + #endif /* _NGX_HTTP_UPSTREAM_H_INCLUDED_ */ |
