Re: Connection: close Always?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 22 Dec 2005 17:16:03 -0500
Michael B Allen <mba2000@xxxxxxxxxx> wrote:

> On Thu, 22 Dec 2005 09:42:08 +0100
> Jochem Maas <jochem@xxxxxxxxxxxxx> wrote:
> 
> > Michael B Allen wrote:
> > > Why does PHP always close the connection with Connection: close? I'm
> > > using PHP 4.3.11 w/ Firefox 1.0.4. Requests are HTTP/1.1 and Connection:
> > > keep-alive is requested.
> > > 
> > 
> > a very small sum of money says that this is due to your
> > webserver config and not php (check httpd.conf?).
> > oh and I recommend upgrading to at least php4.4.x in order to
> > be up2date with [security] fixes et al.
> 
> Yup.
> 
> #
> # The following directives modify normal HTTP response behavior to
> # handle known problems with browser implementations.
> #
> BrowserMatch "Mozilla/2" nokeepalive
> 
> WTF? Mozilla doesn't handle keep-alive!

Correction. Mozilla 2 aka Netscape 2.0 doesn't handle keep-alive
correctly. The directive responsible is actually:

#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive Off

Mmm, why does the Fedora 4 apache package ship with keep-alive disabled?

Mike

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux