handling client disconnect. call-back?
nginx-forum at forum.nginx.org
Fri Aug 7 14:23:44 UTC 2020
My understanding is that abrupt client disconnects are transparent through
nginx -- the connection to upstream is closed and the upstream should handle
that as it can. Please correct me if I am wrong.
Is there a way to use a call-back (or something similar, a redirect), in
nginx.conf, for client disconnects? This would be useful when the upstream
is not good at directly handling the disconnect (not async, and still
processing the response for the now-disconnected client). This could help
clean up resources, on a parallel channel.
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,289006,289006#msg-289006
More information about the nginx