Closed Bug 132874 Opened 23 years ago Closed 23 years ago

Proxy: HTTP double requests b/c auth is forgotten for 1st request.

Categories

(Core :: Networking: HTTP, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 146074

People

(Reporter: sebastien.ailleret, Unassigned)

References

Details

(Keywords: perf, regression)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020310 BuildID: 0.9.9 I use 0.9.9 with a proxy that require authentication. When i look at the log of my proxy, i see that for every page, mozilla first send a request without authentication, and then the good request. This doubles the numbers of requests, and add a lot of lines authentication failed in my logs. From mozilla user point of view, there is no difference, but this behavior is obviously bad. This bug did not exist in 0.9.8, 0.9.7... Reproducible: Always Steps to Reproduce: 1.surf through a proxy which requires authentication 2.have a look at the log of the proxy (if warn authentication failed) Expected Results: Mozilla should only send a request without authentication for the first page, not for every page
->NEW: confirmed Linux, RC1. Here's the log from my server: 10.169.111.126 - - [24/Apr/2002:13:28:23 -0700] "GET http://www.packetgram.com/ HTTP/1.1" 407 10.169.111.126 - benc [24/Apr/2002:13:28:27 -0700] "GET http://www.packetgram.com/ HTTP/1.1" 200 10.169.111.126 - - [24/Apr/2002:13:28:27 -0700] "GET http://www.packetgram.com/banner.html HTTP/1.1" 407 10.169.111.126 - - [24/Apr/2002:13:28:27 -0700] "GET http://www.packetgram.com/launch.html HTTP/1.1" 407 10.169.111.126 - benc [24/Apr/2002:13:28:28 -0700] "GET http://www.packetgram.com/banner.html HTTP/1.1" 200 10.169.111.126 - benc [24/Apr/2002:13:28:29 -0700] "GET http://www.packetgram.com/launch.html HTTP/1.1" 200 I've removed the trailing data, the last number you see is the HTTP status. You can see how something that each URL has to be gotten twice b/c a 407 comes back, then a 200. (You can see the authenticated USER in the 3rd field "benc").
Status: UNCONFIRMED → NEW
Ever confirmed: true
fixed summary, reminder to check other plats...
Summary: for every page with proxy authentication, mozilla first send a request without authentication → Proxy: HTTP double requests b/c auth is forgotten for 1st request.
Whiteboard: checkmac, checkwin
CONFIRMED: Win 98, RC1. +perf, regression.
Keywords: perf, regression
Whiteboard: checkmac, checkwin → checkmac
*** Bug 138985 has been marked as a duplicate of this bug. ***
RESOLVED/DUPE: Sebastien: please get a newer release, and verify if it works correctly. This bug worried me a lot, but it was fixed! My fault actually for not sending it to HTTP, where it would have been duped. *** This bug has been marked as a duplicate of 146074 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Component: Networking → Networking: HTTP
Resolution: --- → DUPLICATE
Whiteboard: checkmac
You need to log in before you can comment on or make changes to this bug.