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
Edited 1 time(s). Last edit at 10/07/2016 05:37AM by ravindra.h@gmail.com.