Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.c @ 3012:f958084d4c12
fix segfault introduced in r3007
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 07 Aug 2009 13:16:42 +0000 |
parents | 95972b9e790b |
children | 8101d9101ed8 |
comparison
equal
deleted
inserted
replaced
3011:5957e869f04d | 3012:f958084d4c12 |
---|---|
2881 u->pipe->temp_file->file.fd); | 2881 u->pipe->temp_file->file.fd); |
2882 } | 2882 } |
2883 | 2883 |
2884 #if (NGX_HTTP_CACHE) | 2884 #if (NGX_HTTP_CACHE) |
2885 | 2885 |
2886 if (u->cacheable) { | 2886 if (u->cacheable && r->cache) { |
2887 time_t valid; | 2887 time_t valid; |
2888 | 2888 |
2889 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, | 2889 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, |
2890 "http upstream cache fd: %d", | 2890 "http upstream cache fd: %d", |
2891 r->cache->file.fd); | 2891 r->cache->file.fd); |