Mercurial > hg > nginx
changeset 5159:94c349e3589d stable-1.2
Merge of r5127: language in a comment.
Fixed language in a comment preceding ngx_http_index_handler().
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 29 Mar 2013 17:53:47 +0000 |
parents | f1521859b8c2 |
children | ab992c25770c |
files | src/http/modules/ngx_http_index_module.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_index_module.c Fri Mar 29 17:51:00 2013 +0000 +++ b/src/http/modules/ngx_http_index_module.c Fri Mar 29 17:53:47 2013 +0000 @@ -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