Posted by Michael B Allen on 12/23/05 00:23
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
[Back to original message]
|