comparison src/http/ngx_http_upstream.c @ 2690:d3cffe32b930

add debug logging
author Igor Sysoev <igor@sysoev.ru>
date Fri, 10 Apr 2009 14:47:18 +0000
parents 5e4d8bd4486c
children baa91bf5a63b
comparison
equal deleted inserted replaced
2689:6caf687a831f 2690:d3cffe32b930
1943 } else { 1943 } else {
1944 u->cacheable = 0; 1944 u->cacheable = 0;
1945 } 1945 }
1946 } 1946 }
1947 1947
1948 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,
1949 "http cacheable: %d", u->cacheable);
1950
1948 #endif 1951 #endif
1949 1952
1950 p = u->pipe; 1953 p = u->pipe;
1951 1954
1952 p->output_filter = (ngx_event_pipe_output_filter_pt) ngx_http_output_filter; 1955 p->output_filter = (ngx_event_pipe_output_filter_pt) ngx_http_output_filter;