diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-06-06 18:49:47 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-06-06 18:49:47 +0000 |
| commit | 55192e74706f328a53db6173c50ba03af9582253 (patch) | |
| tree | 065b5fe0a8e1ac1a8254fc5525532e2ec5236cb0 /src/http/ngx_http_cache.h | |
| parent | fa524e9063212bf021aa557a0e42b2b0c06f3982 (diff) | |
| download | nginx-55192e74706f328a53db6173c50ba03af9582253.tar.gz nginx-55192e74706f328a53db6173c50ba03af9582253.tar.bz2 | |
proxy_cache_use_stale/fastcgi_cache_use_stale updating
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_cache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h index ed5ec2499..cf909cc3d 100644 --- 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; |
