Welcome! Log In Create A New Profile

Advanced

client disconnects

J.Q. S.
January 04, 2012 11:56PM
I've been working on a module to submit web requests to a backend server
over UDP, and its been a good exercise in working with nginx internals.

Next I could use some advice on dealing with client disconnects - I see
ngx_http_upstream_rd_check_broken_connection and
ngx_http_upstream_wr_check_broken_connection being set as event handlers
for the client connection in the upstream module, but I don't see the
handlers put back or the original handlers being called. Wouldn't this
interfere with keep-alive behavior on the client connection?

Are there other considerations I need to make when dealing with client
disconnects? Anything I should do or avoid doing?

All help appreciated!
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

client disconnects

J.Q. S. 1364 January 04, 2012 11:56PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 304
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready