diff src/core/ngx_open_file_cache.c @ 4101:31cf2902de60

Fix of the previous commit: is_directio flag processing introduced in r4077 is still worthwhile.
author Igor Sysoev <igor@sysoev.ru>
date Wed, 14 Sep 2011 14:28:55 +0000
parents efeee901439a
children d620f497c50f
line wrap: on
line diff
--- a/src/core/ngx_open_file_cache.c
+++ b/src/core/ngx_open_file_cache.c
@@ -288,6 +288,8 @@ ngx_open_cached_file(ngx_open_file_cache
                     file->use_event = 1;
                 }
 
+                of->is_directio = file->is_directio;
+
                 goto update;
             }