Hi, I have a question about mod_cgi. How does it react if the client breaks the connection with Apache? In Wireshark I see that the client sends a FIN and the server responds with an ACK. But the server only sends the FIN after the CGI script actually finishes and sends it data. In my setup, this is not desirable. What would be the recommended way to deal with issue? Do I really have to build in a separate thread in my CGI script that checks the connection status, which I guess is not trivial?
Thank you, Andrej