summaryrefslogtreecommitdiffhomepage
path: root/src/http/ngx_http_cache.h
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2015-04-01 03:49:17 +0300
committerValentin Bartenev <vbart@nginx.com>2015-04-01 03:49:17 +0300
commit355a793b895f3695df4e69f0637328db43f704a5 (patch)
tree8044a0554cda2917e491e5bab9b834cb8418ed6d /src/http/ngx_http_cache.h
parent99bf1b56ece3acd8cc5a0811de8098c828b151c8 (diff)
downloadnginx-355a793b895f3695df4e69f0637328db43f704a5.tar.gz
nginx-355a793b895f3695df4e69f0637328db43f704a5.tar.bz2
Cache: added support for reading of the header in thread pools.
Diffstat (limited to '')
-rw-r--r--src/http/ngx_http_cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h
index a7d41c6f1..d36fa779c 100644
--- a/src/http/ngx_http_cache.h
+++ b/src/http/ngx_http_cache.h
@@ -91,6 +91,10 @@ struct ngx_http_cache_s {
ngx_http_file_cache_t *file_cache;
ngx_http_file_cache_node_t *node;
+#if (NGX_THREADS)
+ ngx_thread_task_t *thread_task;
+#endif
+
ngx_msec_t lock_timeout;
ngx_msec_t lock_age;
ngx_msec_t lock_time;