comparison src/http/modules/ngx_http_index_handler.c @ 48:5365b189a97e

nginx-0.0.1-2003-01-19-20:53:14 import
author Igor Sysoev <igor@sysoev.ru>
date Sun, 19 Jan 2003 17:53:14 +0000
parents d81326c3b21b
children 27b628ef907e
comparison
equal deleted inserted replaced
47:d81326c3b21b 48:5365b189a97e
62 62
63 63
64 /* 64 /*
65 Try to open first index file before the test of the directory existence 65 Try to open first index file before the test of the directory existence
66 because the valid requests should be many more then invalid ones. 66 because the valid requests should be many more then invalid ones.
67 If open() is failed then stat() should be more quickly because some data 67 If open() failed then stat() should be more quickly because some data
68 is already cached in the kernel. Besides Win32 has ERROR_PATH_NOT_FOUND 68 is already cached in the kernel. Besides Win32 has ERROR_PATH_NOT_FOUND
69 and Unix has ENOTDIR error (although it less helpfull). 69 and Unix has ENOTDIR error (although it less helpfull).
70 */ 70 */
71 71
72 int ngx_http_index_handler(ngx_http_request_t *r) 72 int ngx_http_index_handler(ngx_http_request_t *r)