Welcome! Log In Create A New Profile

Advanced

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

Anonymous User
November 10, 2011 04:14AM
Author: ru
Date: 2011-11-10 09:13:09 +0000 (Thu, 10 Nov 2011)
New Revision: 4270

Log:
Changed error message to be more appropriate in the imaginary
"open_file_cache max=0" case.


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-11-09 14:50:33 UTC (rev 4269)
+++ trunk/src/http/ngx_http_core_module.c 2011-11-10 09:13:09 UTC (rev 4270)
@@ -4400,7 +4400,7 @@
if (ngx_strncmp(value[i].data, "max=", 4) == 0) {

max = ngx_atoi(value[i].data + 4, value[i].len - 4);
- if (max == NGX_ERROR) {
+ if (max <= 0) {
goto failed;
}


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

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

Anonymous User 1300 November 10, 2011 04:14AM



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

Online Users

Guests: 256
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