diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2003-06-15 18:32:13 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2003-06-15 18:32:13 +0000 |
| commit | be2cfc3d28c90b0e911f22d6f14ce927b7f5bfad (patch) | |
| tree | 52bcfd54a3779fd021278e28dffad5d5bd2f2f4a /src/http | |
| parent | 0915977df53c486abbc6081e1c83f9f8e7a8f111 (diff) | |
| download | nginx-be2cfc3d28c90b0e911f22d6f14ce927b7f5bfad.tar.gz nginx-be2cfc3d28c90b0e911f22d6f14ce927b7f5bfad.tar.bz2 | |
nginx-0.0.1-2003-06-15-22:32:13 import
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_cache.c | 6 | ||||
| -rw-r--r-- | src/http/ngx_http_core_module.c | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/http/ngx_http_cache.c b/src/http/ngx_http_cache.c index 0c563206c..b156966dc 100644 --- a/src/http/ngx_http_cache.c +++ b/src/http/ngx_http_cache.c @@ -2,7 +2,7 @@ /* * small file in malloc()ed memory, mmap()ed file, file descriptor only, - * file access time only (to estimate can pages pages still be in memory), + * file access time only (to estimate could pages still be in memory), * translated URI (ngx_http_index_hanlder), * compiled script (ngx_http_ssi_filter). */ @@ -14,7 +14,9 @@ /* "/" -> "/index.html" in ngx_http_index_handler */ #define NGX_HTTP_CACHE_ENTRY_URI 0x00000004 -/* complied script */ +/* 301 location "/dir" -> "dir/" in ngx_http_core_handler */ + +/* compiled script in ngx_http_ssi_filter */ #define NGX_HTTP_CACHE_ENTRY_SCRIPT 0x00000008 #define NGX_HTTP_CACHE_FILTER_FLAGS 0xFFFF0000 diff --git a/src/http/ngx_http_core_module.c b/src/http/ngx_http_core_module.c index a4e6023c3..c1024e25c 100644 --- a/src/http/ngx_http_core_module.c +++ b/src/http/ngx_http_core_module.c @@ -359,6 +359,8 @@ ngx_log_debug(r->connection->log, "HTTP filename: '%s'" _ r->file.name.data); } } +ngx_log_debug(r->connection->log, "FILE: %d" _ r->file.fd); + if (!r->file.info_valid) { if (ngx_stat_fd(r->file.fd, &r->file.info) == NGX_FILE_ERROR) { ngx_log_error(NGX_LOG_CRIT, r->connection->log, ngx_errno, |
