diff options
author | Valentin Bartenev <vbart@nginx.com> | 2015-03-14 17:37:25 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2015-03-14 17:37:25 +0300 |
commit | a7ad493aa67c5f5204afbe50a42108d9e5b07c31 (patch) | |
tree | 0c2277cd365146cfcbfc28ed8298620bcc7bf5cb /src/http/ngx_http_file_cache.c | |
parent | 547c8f601f80c4dbdd16562fec3cf947581b300a (diff) | |
download | nginx-a7ad493aa67c5f5204afbe50a42108d9e5b07c31.tar.gz nginx-a7ad493aa67c5f5204afbe50a42108d9e5b07c31.zip |
Added support for offloading read() in thread pools.
Diffstat (limited to 'src/http/ngx_http_file_cache.c')
-rw-r--r-- | src/http/ngx_http_file_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_file_cache.c b/src/http/ngx_http_file_cache.c index 7f289ed33..52cbdda83 100644 --- a/src/http/ngx_http_file_cache.c +++ b/src/http/ngx_http_file_cache.c @@ -646,7 +646,7 @@ ngx_http_file_cache_aio_read(ngx_http_request_t *r, ngx_http_cache_t *c) clcf = ngx_http_get_module_loc_conf(r, ngx_http_core_module); - if (!clcf->aio) { + if (clcf->aio != NGX_HTTP_AIO_ON) { goto noaio; } |