diff src/http/ngx_http_upstream.h @ 2875:6e1941b321b7

proxy_cache_methods and fastcgi_cache_methods
author Igor Sysoev <igor@sysoev.ru>
date Tue, 19 May 2009 13:27:27 +0000
parents 4e002555652d
children 55ceaef03d34
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.h	Tue May 19 12:55:26 2009 +0000
+++ b/src/http/ngx_http_upstream.h	Tue May 19 13:27:27 2009 +0000
@@ -156,6 +156,7 @@
 
     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 @@
     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_ */