Hello!

On Tue, Feb 3, 2015 at 2:18 PM, Yichun Zhang (agentzh) wrote:
> One good approximation for this is to register your own *pool cleanup*
> handler in r->pool. The request pool will not be destroyed when
> there's still pending data (don't get confused it with the request
> cleanup thing created by ngx_http_cleanup_add, which gets called too
> early for this).
>

Oh, sorry to mention that your log-phase handler can also be a good
place for this. Maybe even better if you're trying to log something
upon the "data sent" event :)

Regards,
-agentzh

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to