Closed
Bug 102707
Opened 23 years ago
Closed 23 years ago
all content behind http auth requested twice
Categories
(Core :: Networking: HTTP, defect)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: jmd, Assigned: darin.moz)
Details
I have a page I access via HTTPS that requires basic http authentication to
access anything, including /. I notice in the logs for each object it requests,
it first tries without sending the authentication information. Then it seems to
wait a noticable amount of time before rerequesting with the auth info.
1.3.8.1 - - [02/Oct/2001:12:59:26 -0500] "GET /img/foo.jpg HTTP/1.1" 401 523
1.3.8.1 - user [02/Oct/2001:12:59:31 -0500] "GET /img/foo.jpg HTTP/1.1" 200 44626
Especially since HTTPS pages aren't being cached, this causes pages to be very
slow to load, compared to IE.
-> http
Component: Networking → Networking: HTTP
QA Contact: benc → tever
Updated•23 years ago
|
Assignee: neeti → darin
Comment 2•23 years ago
|
||
-> darin. Is this a dupe?
Assignee | ||
Comment 3•23 years ago
|
||
reporter: can you provide a testcase?
Reporter | ||
Comment 4•23 years ago
|
||
Unfortunatly I can't. The only https+httpauth site i know of is a private intranet.
Assignee | ||
Comment 5•23 years ago
|
||
tever: can you reproduce this bug with a local setup?
Keywords: qawanted
Assignee | ||
Comment 6•23 years ago
|
||
reporter, can you please generate a HTTP log file and attach it to this bug?
steps to do so can be found here:
http://lxr.mozilla.org/seamonkey/source/netwerk/protocol/http/src/nsHttp.h#36
this can be done using a nightly build.
Reporter | ||
Comment 7•23 years ago
|
||
Well, something must have changed in the cache.
HTTPS objects are now being cached, and only requested once, with the auth info.
Much faster switching between pages now, since they all have the same 15 images
at the top.
Tested with 2001101808 (linux)
Assignee | ||
Comment 8•23 years ago
|
||
reporter: what build were you originally testing... there was a bug a while back
that caused each request to be tried first without authentication credentials,
and then to be repeated with the stored authentication credentials upon failure.
this extra request for each authenticated URL would not be seen by the user,
but would noticeably slow down page load performance. so, perhaps your original
report is a dupe of that bug? ... which has been fixed for some time.
either way, marking WORKSFORME per reporter's comments.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
Reporter | ||
Comment 9•23 years ago
|
||
The original build was quite likely reported with a current build, no more then
2-3 days old. So assume a build right around the report date, 2001-10-02. If it
was fixed previous to that, perhaps it regressed and disapeared again silently.
Assignee | ||
Comment 10•23 years ago
|
||
hmm.. that would be after the fix i was refering to, so if it turns up again,
please reopen this bug. thanks!
You need to log in
before you can comment on or make changes to this bug.
Description
•