diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2011-09-30 14:18:58 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2011-09-30 14:18:58 +0000 |
| commit | b8b0479e1cd8956236be4d2733f2e57f4d76b4d7 (patch) | |
| tree | b99d1798794d13b21cb25f86cbef58a9950e6617 | |
| parent | 287e2cae6dcce09bcfa464e87edd65c602811d16 (diff) | |
| download | nginx-b8b0479e1cd8956236be4d2733f2e57f4d76b4d7.tar.gz nginx-b8b0479e1cd8956236be4d2733f2e57f4d76b4d7.tar.bz2 | |
Merging r4137:
Fixed loss of chain links in fastcgi module.
| -rw-r--r-- | src/http/modules/ngx_http_fastcgi_module.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/http/modules/ngx_http_fastcgi_module.c b/src/http/modules/ngx_http_fastcgi_module.c index 0bc95f8da..48e238cbe 100644 --- a/src/http/modules/ngx_http_fastcgi_module.c +++ b/src/http/modules/ngx_http_fastcgi_module.c @@ -1703,8 +1703,10 @@ ngx_http_fastcgi_input_filter(ngx_event_pipe_t *p, ngx_buf_t *buf) } 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); |
