httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrej van der Zee <andrejvander...@gmail.com>
Subject mod cgi
Date Fri, 20 Apr 2012 01:05:23 GMT
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

Mime
View raw message