comparison src/core/ngx_output_chain.c @ 1226:2b4fdc9640b7

add debug logging
author Igor Sysoev <igor@sysoev.ru>
date Sun, 03 Jun 2007 19:56:27 +0000
parents fb3ff245c96b
children 3e40f3e4376c
comparison
equal deleted inserted replaced
1225:8dfa34cb186e 1226:2b4fdc9640b7
442 } 442 }
443 #endif 443 #endif
444 444
445 size += ngx_buf_size(in->buf); 445 size += ngx_buf_size(in->buf);
446 446
447 ngx_log_debug1(NGX_LOG_DEBUG_CORE, ctx->connection->log, 0, 447 ngx_log_debug2(NGX_LOG_DEBUG_CORE, ctx->connection->log, 0,
448 "chain writer buf size: %uO", ngx_buf_size(in->buf)); 448 "chain writer buf fl:%d s:%uO",
449 in->buf->flush, ngx_buf_size(in->buf));
449 450
450 cl = ngx_alloc_chain_link(ctx->pool); 451 cl = ngx_alloc_chain_link(ctx->pool);
451 if (cl == NULL) { 452 if (cl == NULL) {
452 return NGX_ERROR; 453 return NGX_ERROR;
453 } 454 }