Mercurial > hg > nginx
diff src/event/ngx_event_pipe.c @ 1102:37c3b4e62b03
correct r1100
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 12 Feb 2007 14:58:45 +0000 |
parents | 04a8b485447d |
children | 4c43e25d11ea e2ab812358bd |
line wrap: on
line diff
--- a/src/event/ngx_event_pipe.c Mon Feb 12 13:19:12 2007 +0000 +++ b/src/event/ngx_event_pipe.c Mon Feb 12 14:58:45 2007 +0000 @@ -502,11 +502,12 @@ bsize = 0; for (cl = p->busy; cl; cl = cl->next) { - if (prev == cl->buf->start) { - continue; - } if (cl->buf->recycled) { + if (prev == cl->buf->start) { + continue; + } + bsize += cl->buf->end - cl->buf->start; prev = cl->buf->start; }