diff options
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, |
