summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_upstream.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-08-11 10:11:33 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-08-11 10:11:33 +0000
commit99eb2b28e7f83888ea9a60ab0f6e4935d3997607 (patch)
tree2e05269d9b9884c2a8d8d0462090dc0662105765 /src/http/ngx_http_upstream.h
parent599b8c4329d5964ddc1f45713d7c6a94e005b14b (diff)
downloadnginx-99eb2b28e7f83888ea9a60ab0f6e4935d3997607.tar.gz
nginx-99eb2b28e7f83888ea9a60ab0f6e4935d3997607.tar.bz2
r1292, r1296 merge:
proxy_store and fastcgi_store, proxy_store_access and fastcgi_store_access
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_upstream.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/http/ngx_http_upstream.h b/src/http/ngx_http_upstream.h
index b2e3f3e93..b3bb1b4fd 100644
--- a/src/http/ngx_http_upstream.h
+++ b/src/http/ngx_http_upstream.h
@@ -118,6 +118,7 @@ typedef struct {
size_t temp_file_write_size_conf;
ngx_uint_t next_upstream;
+ ngx_uint_t store_access;
ngx_bufs_t bufs;
@@ -140,6 +141,10 @@ typedef struct {
ngx_str_t location;
ngx_str_t url; /* used in proxy_rewrite_location */
+ ngx_array_t *store_lengths;
+ ngx_array_t *store_values;
+
+ signed store:2;
unsigned intercept_404:1;
unsigned change_buffering:1;
@@ -237,6 +242,7 @@ struct ngx_http_upstream_s {
ngx_http_cleanup_pt *cleanup;
+ unsigned store:1;
unsigned cachable:1;
unsigned accel:1;