Closed Bug 78724 Opened 23 years ago Closed 23 years ago

keep-alive broken with proxies

Categories

(Core :: Networking: HTTP, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bob+mozilla, Assigned: neeti)

Details

When using a HTTP/1.1 proxy, mozilla does not obey the keep-alive header, even
though it sends one.  Mozilla forcefully closes the connection to the proxy
after each request. Seen in all builds for about the last month or two.  I have
tried all combinations of options in Preferences->Debug->Networking.
Here is a dump of the headers seen by the proxy:

[12120 Thu May  3 11:08:28 2001]   Incoming header from client:
Connection: keep-alive
Accept: */*
Accept-Charset: ISO-8859-1, utf-8; q=0.667, *; q=0.667
Accept-Encoding: gzip,deflate,compress,identity
Accept-Language: en
Host: slashdot.org
If-Modified-Since: Thu, 03 May 2001 16:08:14 GMT
Proxy-Authorization: Basic <REMOVED>
User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.1 i686; en-US; rv:0.8.1+)
Gecko/20010430
Cookie: anon=-1-LcpwsKYS6i
Keep-Alive: 300
[12120 Thu May  3 11:08:28 2001] HTTP/1.1 proxy request for
http://slashdot.org/index.pl received.
------ Response: ----------

[12120 Thu May  3 11:08:33 2001]   Outgoing Header to client for
http://slashdot.org/index.pl:
Cache-Control: private
Connection: keep-alive
Date: Thu, 03 May 2001 16:10:04 GMT
Pragma: no-cache
Transfer-Encoding: chunked
Via: 1.1 chani.access.services.wisc.edu
Server: Apache/1.3.12 (Unix) mod_perl/1.24
Content-Type: text/html
Client-Date: Thu, 03 May 2001 16:08:33 GMT
Client-Peer: 64.28.67.150:80
Keep-Alive: 300
Set-Cookie: anon=-1-LcpwsKYS6i; path=/
[12120 Thu May  3 11:08:33 2001] Exiting for client chani:35392 (1 requests
processed) {Client closed}


Things in [brackets] are messages from the proxy.
This bug is (sort-of) fixed in recent nightlies.  See bug 84264 for info on how
mozilla currently behaves.  It does not blindly ignore the keep-alive header
anymore, however.
Darin: 
I think this is fixed. Can you take a short look at this bug ?
-> WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.