httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frode E. Moe" <fr...@CoreTrek.no>
Subject Re: [users@httpd] Apache fails to detect client closing connection with windows firewall on client
Date Thu, 23 Nov 2006 09:35:55 GMT
Hi again, sorry for the late reply. 

I just tried disabling KeepAlive, but it did not help much. 

I'm still experiencing windows/firefox clients sending FIN+ACK to close
connection mid-download if it receives Content-Type: text/html when it
expects and Accept: image/png;*. This is followed by the server
sending TCP retransmissions. The client sends (only) ONE RST+ACK,
probably to tell the server "no, really, this connection is closed",
which for some reason is ignored by the server. Further TCP
retramissions occur from the server for a while until the server gives
up and finalizes with a RST+ACK sent to the client.

This only happens on a few Windows XP SP2 laptops with firewall enabled.
I've tried reproducing on other Windows XP SP2 installations, with and
without VMWare, as well as various other Linux clients. Even on the
affected machines, whether this happens is hit-or-miss. I'm also getting
reports that disabling the Windows Firewall on the client greatly
reduces the probability of these kinds of hangs, but does not completely
eliminate them.

- Frode

On Tue, Nov 14, 2006 at 09:17:41 -0200, Domingos Parra Novo wrote:
> 	Hiyas,
> 
> 	Try Disabling "KeepAlive" connections on your apache server (it is 
> enabled by default). Simply edit your "httpd.conf" file, and change the 
> following line:
> 
> KeepAlive On
> 
> 	to:
> 
> KeepAlive Off
> 
> 	And see if it works.
> 
> Regards,
> 
> Domingos.
> 
> Frode E. Moe escreveu:
> >(Sorry for a rather long email, here's an "executive summary": Windows 
> >firewall
> >doesn't reply with RST for TCP retransmissions on a client-closed 
> >connection,
> >causes apache workers to get stuck for 5 minutes)
> >



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message