Hello!

On Fri, Oct 21, 2016 at 06:27:55PM -0400, Mathieu Vachon wrote:

> Hello again,
> 
> I was wondering what would be the best approach to get a callback @ the
> termination of a request ?
> 
> r->write_event_handler ? and simply call ngx_http_finalize_request(r, 0)
> after ?

Adding a pool cleanup handler to the request pool should be 
correct solution.

-- 
Maxim Dounin
http://nginx.org/

_______________________________________________
nginx-devel mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Reply via email to