Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-04 01:20:44 +0300
committerIgor Sysoev <igor@sysoev.ru>2003-11-04 01:20:44 +0300
commitcf80a70e1030f3c12e9b19e34e4f9ee9e2f72629 (patch)
tree0611cee87cc3d27340cff7fc8d324f6f61ad56b7 /src/http/ngx_http_cache.h
parenta1512b1904fc7e3a0a5b99e49cff480085518445 (diff)
nginx-0.0.1-2003-11-04-01:20:44 import
Diffstat (limited to 'src/http/ngx_http_cache.h')
-rw-r--r--src/http/ngx_http_cache.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h
index 9e491adb5..f10dc992f 100644
--- a/src/http/ngx_http_cache.h
+++ b/src/http/ngx_http_cache.h
@@ -9,6 +9,7 @@
typedef struct {
time_t expires;
time_t last_modified;
+ time_t date;
off_t length;
} ngx_http_cache_header_t;
@@ -44,7 +45,8 @@ typedef struct {
} ngx_http_cache_ctx_t;
-#define NGX_STALE 1
+#define NGX_HTTP_CACHE_STALE 1
+#define NGX_HTTP_CACHE_AGED 2
int ngx_http_cache_get_file(ngx_http_request_t *r, ngx_http_cache_ctx_t *ctx);