comparison src/http/ngx_http_cache.h @ 5879:c525c0454aa5

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.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 27 Oct 2014 21:14:07 +0300
parents 2c89956b6a76
children 78c49e243848
comparison
equal deleted inserted replaced
5878:2c89956b6a76 5879:c525c0454aa5
99 99
100 unsigned updated:1; 100 unsigned updated:1;
101 unsigned updating:1; 101 unsigned updating:1;
102 unsigned exists:1; 102 unsigned exists:1;
103 unsigned temp_file:1; 103 unsigned temp_file:1;
104 unsigned reading:1;
104 }; 105 };
105 106
106 107
107 typedef struct { 108 typedef struct {
108 ngx_uint_t version; 109 ngx_uint_t version;