commit | 0f8ea4de461b5fc54b69e09364c94b066363c0c9 | [log] [tgz] |
---|---|---|
author | Igor Sysoev <igor@sysoev.ru> | Fri Sep 12 13:44:10 2008 +0000 |
committer | Igor Sysoev <igor@sysoev.ru> | Fri Sep 12 13:44:10 2008 +0000 |
tree | 1fac4803d4aff3f2c0a5031acebd7d0f7714fe25 | |
parent | 77cdae1814d6d359febee8c85edd1f2671869db4 [diff] |
disable directio for access_log with variables
diff --git a/src/http/modules/ngx_http_log_module.c b/src/http/modules/ngx_http_log_module.c index 4448363..775279c 100644 --- a/src/http/modules/ngx_http_log_module.c +++ b/src/http/modules/ngx_http_log_module.c
@@ -430,6 +430,7 @@ of.log = 1; of.valid = llcf->open_file_cache_valid; of.min_uses = llcf->open_file_cache_min_uses; + of.directio = NGX_MAX_OFF_T_VALUE; if (ngx_open_cached_file(llcf->open_file_cache, &log, &of, r->pool) != NGX_OK)