diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-03-23 13:14:51 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-03-23 13:14:51 +0000 |
commit | 52859f2f1309fc8452f1cf182b712ae2d72bc40c (patch) | |
tree | f87d424675f857d0dcebdc80ce3828389d75a69b /src/http/ngx_http_request.h | |
parent | 1af7090b5091ebbee1cd9354fe8a702e601a8ce0 (diff) | |
download | nginx-52859f2f1309fc8452f1cf182b712ae2d72bc40c.tar.gz nginx-52859f2f1309fc8452f1cf182b712ae2d72bc40c.zip |
a prelimiary proxy cache support
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 403a4fccc..ee8766958 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -348,7 +348,9 @@ struct ngx_http_request_s { ngx_http_event_handler_pt read_event_handler; ngx_http_event_handler_pt write_event_handler; +#if (NGX_HTTP_CACHE) ngx_http_cache_t *cache; +#endif ngx_http_upstream_t *upstream; ngx_array_t *upstream_states; @@ -443,6 +445,9 @@ struct ngx_http_request_s { unsigned subrequest_in_memory:1; unsigned waited:1; +#if (NGX_HTTP_CACHE) + unsigned cached:1; +#endif unsigned gzip:2; unsigned proxy:1; |