]> git.kaiwu.me - nginx.git/commitdiff
disable directio for access_log with variables
authorIgor Sysoev <igor@sysoev.ru>
Fri, 12 Sep 2008 13:44:10 +0000 (13:44 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 12 Sep 2008 13:44:10 +0000 (13:44 +0000)
src/http/modules/ngx_http_log_module.c

index 4448363c57461a6eb8df03aed36c6f4623a6ac41..775279c886fcbad1e622c455a35042cd8231811d 100644 (file)
@@ -430,6 +430,7 @@ ngx_http_log_script_write(ngx_http_request_t *r, ngx_http_log_script_t *script,
     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)