Buffers Chain

Maxim Dounin mdounin at mdounin.ru
Fri May 23 10:20:42 UTC 2014


On Fri, May 23, 2014 at 10:23:38AM +0100, Paulo Silva wrote:

> @Maxim: nice hints, thanks.
> Let me ask you about filters order. To get the contents that will be
> sent to client, I want to run my body_filter right before the gziping.
> How to accomplish that or if it is even possible
> I am worried that copying the buffers content the original ones can be
> yet modified by other filters and than I will log an outdated copy.

Try looking into auto/modules.

Maxim Dounin

More information about the nginx-devel mailing list