handling client disconnect. call-back?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

handling client disconnect. call-back?

zakirenish
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.

Best,
George

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,289006,289006#msg-289006

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx