Re: [PHP] Connection: close Always?
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. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Connection: close Always?
On Thu, 22 Dec 2005 09:42:08 +0100 Jochem Maas [EMAIL PROTECTED] 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! Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Connection: close Always?
On Thu, 22 Dec 2005 17:16:03 -0500 Michael B Allen [EMAIL PROTECTED] wrote: On Thu, 22 Dec 2005 09:42:08 +0100 Jochem Maas [EMAIL PROTECTED] 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
Re: [PHP] Connection: close Always?
On Thu, Dec 22, 2005 at 05:23:51PM -0500, Michael B Allen wrote: ... # # 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? Yeah, i ran accross that on other linux distro packaging systems, keepalive boosts performance by quite a bit. Curt. -- cat .signature: No such file or directory -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Connection: close Always?
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. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php