freeing buffers after sending them

Valentin V. Bartenev vbart at
Wed Oct 12 12:58:46 UTC 2016

On Wednesday 12 October 2016 15:05:48 George . wrote:
> Hi Valentin,
> Than you for your fast and correct reply.
> Yes, you are right, it was oversight that r->out->buf if taken from
> pipe->pool, which is actually  r->pool.
> What if we pfree this bufs from  r->pool? Who holds the reference after
> sending these buffers (except may be in NGX_THREADS version)?

These buffers are reused for continuing sending response.

  wbr, Valentin V. Bartenev

More information about the nginx-devel mailing list