correct r1100

This commit is contained in:
Igor Sysoev 2007-02-12 14:58:45 +00:00
parent 1131d87684
commit 7cc1ea31e9

View File

@ -502,11 +502,12 @@ ngx_event_pipe_write_to_downstream(ngx_event_pipe_t *p)
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;
}