From cf80a70e1030f3c12e9b19e34e4f9ee9e2f72629 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 3 Nov 2003 22:20:44 +0000 Subject: nginx-0.0.1-2003-11-04-01:20:44 import --- src/http/ngx_http_cache.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/http/ngx_http_cache.h') 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); -- cgit