Mercurial > hg > nginx-quic
diff src/http/ngx_http_upstream.c @ 3713:f0b62d1ac7af
move debug logging inside ngx_http_file_cache_free()
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 28 Jul 2010 15:56:56 +0000 |
parents | ce6ba077c270 |
children | 502a6b0acf3f 7cccdc1809a2 |
line wrap: on
line diff
--- a/src/http/ngx_http_upstream.c +++ b/src/http/ngx_http_upstream.c @@ -1725,9 +1725,6 @@ ngx_http_upstream_intercept_errors(ngx_h 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) { @@ -2992,9 +2989,6 @@ ngx_http_upstream_finalize_request(ngx_h 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);