diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2014-10-27 21:14:07 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-10-27 21:14:07 +0300 |
| commit | 83f00adc9b03197efac7e6b1c0100df6a7e4052f (patch) | |
| tree | 17aa0992bb607b21125dd834a6852ce4a7d1f514 /src/http/ngx_http_cache.h | |
| parent | 1332e76b20a6a1e871904525d42b17dcaed81eec (diff) | |
| download | nginx-83f00adc9b03197efac7e6b1c0100df6a7e4052f.tar.gz nginx-83f00adc9b03197efac7e6b1c0100df6a7e4052f.tar.bz2 | |
Cache: c->reading flag introduced.
It replaces c->buf in checks in ngx_http_file_cache_open(), making it possible
to reopen the file without clearing c->buf. No functional changes.
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h index a5886631b..b65fd493f 100644 --- a/src/http/ngx_http_cache.h +++ b/src/http/ngx_http_cache.h @@ -101,6 +101,7 @@ struct ngx_http_cache_s { unsigned updating:1; unsigned exists:1; unsigned temp_file:1; + unsigned reading:1; }; |
