Re: Connection: close Always?

From: Date: Thu, 22 Dec 2005 22:23:51 +0000
Subject: Re: Connection: close Always?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-227821@lists.php.net to get a copy of this message
On Thu, 22 Dec 2005 17:16:03 -0500 Michael B Allen <mba2000@ioplex.com> wrote: > On Thu, 22 Dec 2005 09:42:08 +0100 > Jochem Maas <jochem@iamjochem.com> 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

« previous php.general (#227821) next »