Mercurial > hg > nginx
diff src/http/ngx_http_cache.h @ 2927:55ceaef03d34
proxy_cache_use_stale/fastcgi_cache_use_stale updating
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 06 Jun 2009 18:49:47 +0000 |
parents | 80a314b63c56 |
children | 0998606fbfd4 |
line wrap: on
line diff
--- a/src/http/ngx_http_cache.h +++ b/src/http/ngx_http_cache.h @@ -14,6 +14,7 @@ #define NGX_HTTP_CACHE_STALE 1 +#define NGX_HTTP_CACHE_UPDATING 2 #define NGX_HTTP_CACHE_KEY_LEN 16 @@ -36,7 +37,8 @@ typedef struct { unsigned valid_msec:10; unsigned error:10; unsigned exists:1; - /* 13 unused bits */ + unsigned updating:1; + /* 12 unused bits */ ngx_file_uniq_t uniq; time_t expire;