diff src/http/modules/ngx_http_log_module.c @ 2247:981483d63e9f

disable directio for access_log with variables
author Igor Sysoev <igor@sysoev.ru>
date Fri, 12 Sep 2008 13:44:10 +0000
parents f62751dab60d
children 07bf557a2e40
line wrap: on
line diff
--- a/src/http/modules/ngx_http_log_module.c
+++ b/src/http/modules/ngx_http_log_module.c
@@ -430,6 +430,7 @@ ngx_http_log_script_write(ngx_http_reque
     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)