Mercurial > hg > nginx-quic
changeset 4136:7898857ff34b
Fixed loss of chain links in fastcgi module.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 20 Sep 2011 09:56:05 +0000 |
parents | d8e24515176e |
children | 6b9b7e7ac4a9 |
files | src/http/modules/ngx_http_fastcgi_module.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_fastcgi_module.c +++ b/src/http/modules/ngx_http_fastcgi_module.c @@ -1744,8 +1744,10 @@ ngx_http_fastcgi_input_filter(ngx_event_ } if (p->free) { - b = p->free->buf; - p->free = p->free->next; + cl = p->free; + b = cl->buf; + p->free = cl->next; + ngx_free_chain(p->pool, cl); } else { b = ngx_alloc_buf(p->pool);