Jump to content

Weird KeepAlive issue


CaptainPanick

Recommended Posts

Hi guys,

I'm trying to use the KeepAlive option for my Apache 2 server. On my Windows machine it works fine but I can't get persistant HTTP connections to work properly on my new Ubuntu Server (LAMP) installation.

I have discovered that HTTP/1.1 requests are logged as HTTP/1.0 requests and this is most probably the reason KeepAlive doesn't work. However, I can't figure out why this is happening. I use an app I developed and perform an HTTP/1.1 GET request over TCP/IP to the Apache 2 server, but then Apache logs it as a HTTP/1.0 request. I'm busy pulling my hair out since I can't figure out where this change is happening. I don't have any BrowserMatch flags which would downgrade the HTTP protocol to 1.0.

I've also made sure the KeepAlive is On and that the timeouts are set correctly. Here are my settings:
KeepAlive On
MaxKeepAliveRequests 250
KeepAliveTimeout 15

Is there anything else which would force HTTP/1.1 requests to HTTP/1.0?
Link to comment
https://forums.phpfreaks.com/topic/30220-weird-keepalive-issue/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.