Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Detection of external client disconnect

$
0
0
Hi,

We are using Nginx along with FCGI library. We are investigating an issue where in an external client disconnects from the network after send a request to our Nginx server. We are using FCGX_PutStr() to send the response. This API does not seem to fail even after the external client has disconnected from the network. We also tried calling FCGX_FFlush() immediately after the FCGX_PutStr() call. But both of these API return success always.

Could anyone please let us know how we can fine tune Nginx / FCGI to immediately detect and return an error when the external client has disconnected from the network.

Thanks,
-Ravi

Viewing all articles
Browse latest Browse all 4759

Trending Articles