comparison src/event/ngx_event_pipe.c @ 4137:6b9b7e7ac4a9

Fixed loss of chain links in ngx_event_pipe_read_upstream().
author Maxim Dounin <mdounin@mdounin.ru>
date Tue, 20 Sep 2011 09:56:35 +0000
parents d8e24515176e
children 487ab473f393
comparison
equal deleted inserted replaced
4136:7898857ff34b 4137:6b9b7e7ac4a9
407 if (p->input_filter(p, cl->buf) == NGX_ERROR) { 407 if (p->input_filter(p, cl->buf) == NGX_ERROR) {
408 return NGX_ABORT; 408 return NGX_ABORT;
409 } 409 }
410 410
411 p->free_raw_bufs = cl->next; 411 p->free_raw_bufs = cl->next;
412 ngx_free_chain(p->pool, cl);
412 } 413 }
413 } 414 }
414 415
415 if (p->length == 0) { 416 if (p->length == 0) {
416 p->upstream_done = 1; 417 p->upstream_done = 1;