wirte_event_handler
Maxim Dounin
mdounin at mdounin.ru
Mon Oct 24 11:44:38 UTC 2016
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/
More information about the nginx-devel
mailing list