Welcome! Log In Create A New Profile

Advanced

handling client disconnect. call-back?

August 07, 2020 10:23AM
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
Subject Author Posted

handling client disconnect. call-back?

George Nica August 07, 2020 10:23AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 68
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready