mirror of
https://github.com/nginx/nginx.git
synced 2025-06-08 02:02:38 +08:00
Fixed loss of chain links in fastcgi module.
This commit is contained in:
parent
e4dab80e80
commit
d1b9a0388d
@ -1744,8 +1744,10 @@ ngx_http_fastcgi_input_filter(ngx_event_pipe_t *p, ngx_buf_t *buf)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (p->free) {
|
if (p->free) {
|
||||||
b = p->free->buf;
|
cl = p->free;
|
||||||
p->free = p->free->next;
|
b = cl->buf;
|
||||||
|
p->free = cl->next;
|
||||||
|
ngx_free_chain(p->pool, cl);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
b = ngx_alloc_buf(p->pool);
|
b = ngx_alloc_buf(p->pool);
|
||||||
|
Loading…
Reference in New Issue
Block a user