Closed
Bug 162448
Opened 22 years ago
Closed 22 years ago
Page takes loooong to load with pipelining enabled [IIS/5.0]
Categories
(Core :: Networking: HTTP, defect, P4)
Tracking
()
VERIFIED
FIXED
mozilla1.2alpha
People
(Reporter: thierry, Assigned: darin.moz)
References
()
Details
(Whiteboard: [pipelining])
Attachments
(1 file)
596 bytes,
patch
|
gagan
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.1b) Gecko/20020804 BuildID: 2002080419 Go to the site. Reproducible: Always Steps to Reproduce: Go to the site. Wait. Actual Results: Site doesn't load correctly. IE loads the page within 5 seconds.
Comment 1•22 years ago
|
||
Worksforme with build 2002072104 on NT. It loads in 6.2 seconds. What do you mean with 'site doesn't load correctly'?
Comment 2•22 years ago
|
||
> IE loads the page within 5 seconds.
..from the cache?
Lynx can't load the page, dillo can't load the page..
looks like the server is down / has problems..
(Its IIS ;) )
Could you try it tomorrow again and give us a feedback?
thanks
Comment 3•22 years ago
|
||
Confirmed. It seems that is a problem with the page: in IE loads ok, in Opera got an error message, in Netscape 4.7 also an error about javascript in status bar: JavaScript Error: http://www.electrolux.de/files/includes/js/general.js, line 67: document.getElementById is not a function. JavaScript Error: http://www.electrolux.de/files/includes/js/general.js, line 67: document.getElementById is not a function. The site is broken, I supose is a Tech Evangelism issue
confirmed on linux build 2002080902. looks like a pipelining problem. When I disabled pipelining it works fine. nicu: NS4.7 doesn't support getElementById and that's why you see the error. getElementById is a standard compliant function.
Assignee: attinasi → darin
Status: UNCONFIRMED → NEW
Component: Layout → Networking: HTTP
Ever confirmed: true
OS: Windows 98 → All
QA Contact: petersen → tever
Whiteboard: [pipelining]
Summary: Page takes loooong to load → Page takes loooong to load with pipelining enabled
Assignee | ||
Comment 5•22 years ago
|
||
looks like we have to add IIS/5.0 to our pipelining blacklist. this is not the only report of it having trouble handling pipelined requests.
Severity: normal → minor
Status: NEW → ASSIGNED
Priority: -- → P4
Summary: Page takes loooong to load with pipelining enabled → Page takes loooong to load with pipelining enabled [IIS/5.0]
Target Milestone: --- → mozilla1.2alpha
Assignee | ||
Comment 6•22 years ago
|
||
add IIS/5.x to the pipelining blacklist.
Comment on attachment 95118 [details] [diff] [review] v1 patch r=gagan
Attachment #95118 -
Flags: review+
I believe this is a problem with how Mozilla does pipelining. The blacklist approach is IMHO wrong. While a server that claims to support HTTP/1.1 MUST support pipelining, many don't. Thus, a UA that wants to pipeline requests should carefully probe for server-side support. The problem is that some servers discard their input buffers between requests. The approach that I've taken in a proxy I'm working on (not available ATM) is to keep a cache of servers with information on their capabilities. Initially, I do no pipelining on a server. When I've queued two requests for a server, I pipeline them both in what is hopefully a single IP packet, set a short (15 s) timeout on that connection, and wait for replies. If both requests succeed, the server is noted as being able to do pipelining, and I then pipeline to my heart's content. If not, it becomes blacklisted. I have never yet seen a server on which this heuristic fails to provide correct results. The only problems are that: 1. we do not do pipelining initially, but only after the server has been busy enough to cause two requests to be queued; and 2. in cases when a server doesn't support pipelining, the users waits 10s for the first two-element pipeline to fail.
Assignee | ||
Comment 9•22 years ago
|
||
jch: yeah, i agree that ultimately it would be great if we could autodetect broken HTTP/1.1 servers, but at the moment, it is a lot easier to blacklist servers with known problems. i understand that it is not always possible to determine that a website will have this problem from the Server header alone since often there are transparent proxies / virtual hosting systems causing the real problem. but, for the moment this is a reasonable simple solution. not to mention the fact that 10s is not at all a reasonable delay for most users. if their first visit (after launching the browser) to a website always results in a 10s delay then chances are they aren't going to enjoy using mozilla to browse that site. a blacklist takes care of a large percentage of the problem cases. IMO, it makes sense to add what you describe, but i'd still want to keep the blacklist in place.
Comment 10•22 years ago
|
||
> if their first visit (after launching the browser) to a website always
> results in a 10s delay then chances are they aren't going to enjoy using mozilla
> to browse that site.
If you think about it, the delay only happens between the first and the second
image on the page. As you open two connections to the server (following the
recommendation in RFC 2616), and don't do any further pipelining on that server
while the probe is in progress, the other objects from that page get downloaded
immediately.
I agree with you, though, that it is reasonable to use both the blacklist
and probing. What I object to is that no probing is done for unknown servers.
Anyway, it's on record now.
Comment 11•22 years ago
|
||
ok, ignore comment #2 .. the page _was_ down, but now i can see the (real) problem
Comment 12•22 years ago
|
||
Comment on attachment 95118 [details] [diff] [review] v1 patch sr=bzbarsky
Attachment #95118 -
Flags: superreview+
Assignee | ||
Comment 13•22 years ago
|
||
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment 14•22 years ago
|
||
If I'm right, this should also fix Bug #141179 and Bug #140561. Darin, can you take a look, otherwise I'll try to take a look tonight when I've downloaded this mornings nightly.
Comment 15•22 years ago
|
||
*** Bug 141179 has been marked as a duplicate of this bug. ***
Comment 16•22 years ago
|
||
OK, this also fixed Bug #141179, but it doesn't appear to have fixed Bug #140561.
Comment 17•22 years ago
|
||
verified - 10/01/02 trunk, win NT4, linux rh6, mac osX
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•