Re: PHP and Connection: Close

From: Date: Fri, 24 Mar 2006 13:50:59 +0000
Subject: Re: PHP and Connection: Close
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-232540@lists.php.net to get a copy of this message
Jon Anderson wrote:
<IfModule mod_ssl.c> ... SetEnvIf User-Agent ".*MSIE.*" nokeepalive ... ... </IfModule>
I seem to recall this being due to a bug in Internet Explorer that keeps the connection open longer than necessary, tying up server resources. George Schlossnagle has a formula for calculating the win/loss of using persistent connections, and he factors in the keep-alive timeout because of this behavior. (He concludes that it's better to disable persistent connections altogether.) Chris

« previous php.general (#232540) next »