Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r4326 - trunk/src/http

Anonymous User
December 06, 2011 08:24AM
Author: mdounin
Date: 2011-12-06 13:23:37 +0000 (Tue, 06 Dec 2011)
New Revision: 4326

Log:
Fix for read_head with try_files and open_file_cache.

The of.read_ahead wasn't set in try_files code path, causing read_ahead
directive to be a nop if try_files and open_file_cache were used.


Modified:
trunk/src/http/ngx_http_core_module.c

Modified: trunk/src/http/ngx_http_core_module.c
===================================================================
--- trunk/src/http/ngx_http_core_module.c 2011-12-06 13:22:32 UTC (rev 4325)
+++ trunk/src/http/ngx_http_core_module.c 2011-12-06 13:23:37 UTC (rev 4326)
@@ -1289,6 +1289,7 @@

ngx_memzero(&of, sizeof(ngx_open_file_info_t));

+ of.read_ahead = clcf->read_ahead;
of.directio = clcf->directio;
of.valid = clcf->open_file_cache_valid;
of.min_uses = clcf->open_file_cache_min_uses;

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] svn commit: r4326 - trunk/src/http

Anonymous User 1205 December 06, 2011 08:24AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 303
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready