comparison src/event/ngx_event_pipe.c @ 1030:5a86fcc480c6

add debug logging for FastCGI zero size buf alert
author Igor Sysoev <igor@sysoev.ru>
date Mon, 15 Jan 2007 16:00:51 +0000
parents d1e8c59a50ee
children 73f18b6ad6ba
comparison
equal deleted inserted replaced
1029:ce08bc4cb97b 1030:5a86fcc480c6
529 ngx_event_pipe_free_shadow_raw_buf(&p->free_raw_bufs, cl->buf); 529 ngx_event_pipe_free_shadow_raw_buf(&p->free_raw_bufs, cl->buf);
530 530
531 } else if (!p->cachable && p->in) { 531 } else if (!p->cachable && p->in) {
532 cl = p->in; 532 cl = p->in;
533 533
534 ngx_log_debug3(NGX_LOG_DEBUG_EVENT, p->log, 0,
535 "pipe write buf ls:%d %p %z",
536 cl->buf->last_shadow,
537 cl->buf->pos,
538 cl->buf->last - cl->buf->pos);
539
534 if (cl->buf->recycled 540 if (cl->buf->recycled
535 && cl->buf->last_shadow 541 && cl->buf->last_shadow
536 && bsize + cl->buf->last - cl->buf->pos > p->busy_size) 542 && bsize + cl->buf->last - cl->buf->pos > p->busy_size)
537 { 543 {
538 flush = 1; 544 flush = 1;