cache = c->file_cache;
- ngx_log_debug0(NGX_LOG_DEBUG_HTTP, c->file.log, 0,
- "http file cache free");
+ ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->file.log, 0,
+ "http file cache free, fd: %d", c->file.fd);
ngx_shmtx_lock(&cache->shpool->mutex);
if (r->cache) {
time_t valid;
- ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
- "http upstream cache fd: %d", r->cache->file.fd);
-
valid = ngx_http_file_cache_valid(u->conf->cache_valid, status);
if (valid) {
if (u->cacheable && r->cache) {
time_t valid;
- ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
- "http upstream cache fd: %d", r->cache->file.fd);
-
if (rc == NGX_HTTP_BAD_GATEWAY || rc == NGX_HTTP_GATEWAY_TIME_OUT) {
valid = ngx_http_file_cache_valid(u->conf->cache_valid, rc);