Mercurial > hg > nginx-quic
diff src/event/ngx_event_pipe.c @ 4114:5db098f97e0e
API change: ngx_chain_update_chains() now requires pool.
The ngx_chain_update_chains() needs pool to free chain links used for buffers
with non-matching tags. Providing one helps to reduce memory consumption
for long-lived requests.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 15 Sep 2011 16:03:17 +0000 |
parents | 227a819b46db |
children | b66712cde67d |
line wrap: on
line diff
--- a/src/event/ngx_event_pipe.c +++ b/src/event/ngx_event_pipe.c @@ -638,7 +638,7 @@ ngx_event_pipe_write_to_downstream(ngx_e return ngx_event_pipe_drain_chains(p); } - ngx_chain_update_chains(&p->free, &p->busy, &out, p->tag); + ngx_chain_update_chains(p->pool, &p->free, &p->busy, &out, p->tag); for (cl = p->free; cl; cl = cl->next) {