Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 3705:7ac6757fa391
style fix
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 19 Jul 2010 15:29:16 +0000 |
parents | b0a0686a85bb |
children | ea908f6ae499 |
comparison
equal
deleted
inserted
replaced
3704:f220e5a5fb5e | 3705:7ac6757fa391 |
---|---|
2973 | 2973 |
2974 if (u->cacheable && r->cache) { | 2974 if (u->cacheable && r->cache) { |
2975 time_t valid; | 2975 time_t valid; |
2976 | 2976 |
2977 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 2977 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
2978 "http upstream cache fd: %d", | 2978 "http upstream cache fd: %d", r->cache->file.fd); |
2979 r->cache->file.fd); | |
2980 | 2979 |
2981 if (rc == NGX_HTTP_BAD_GATEWAY || rc == NGX_HTTP_GATEWAY_TIME_OUT) { | 2980 if (rc == NGX_HTTP_BAD_GATEWAY || rc == NGX_HTTP_GATEWAY_TIME_OUT) { |
2982 | 2981 |
2983 valid = ngx_http_file_cache_valid(u->conf->cache_valid, rc); | 2982 valid = ngx_http_file_cache_valid(u->conf->cache_valid, rc); |
2984 | 2983 |