Welcome! Log In Create A New Profile

Advanced

[nginx] svn commit: r5127 - trunk/src/http/modules

Anonymous User
March 21, 2013 12:06PM
Author: ru
Date: 2013-03-21 16:05:35 +0000 (Thu, 21 Mar 2013)
New Revision: 5127
URL: http://trac.nginx.org/nginx/changeset/5127/nginx

Log:
Fixed language in a comment preceding ngx_http_index_handler().


Modified:
trunk/src/http/modules/ngx_http_index_module.c

Modified: trunk/src/http/modules/ngx_http_index_module.c
===================================================================
--- trunk/src/http/modules/ngx_http_index_module.c 2013-03-21 16:04:09 UTC (rev 5126)
+++ trunk/src/http/modules/ngx_http_index_module.c 2013-03-21 16:05:35 UTC (rev 5127)
@@ -85,12 +85,12 @@

/*
* Try to open/test the first index file before the test of directory
- * existence because valid requests should be much more than invalid ones.
- * If the file open()/stat() would fail, then the directory stat() should
- * be more quickly because some data is already cached in the kernel.
+ * existence because valid requests should prevail over invalid ones.
+ * If open()/stat() of a file will fail then stat() of a directory
+ * should be faster because kernel may have already cached some data.
* Besides, Win32 may return ERROR_PATH_NOT_FOUND (NGX_ENOTDIR) at once.
- * Unix has ENOTDIR error, however, it's less helpful than Win32's one:
- * it only indicates that path contains an usual file in place of directory.
+ * Unix has ENOTDIR error; however, it's less helpful than Win32's one:
+ * it only indicates that path points to a regular file, not a directory.
*/

static ngx_int_t

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

[nginx] svn commit: r5127 - trunk/src/http/modules

Anonymous User 742 March 21, 2013 12:06PM



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

Online Users

Guests: 215
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready