Closed
Bug 68811
Opened 23 years ago
Closed 23 years ago
Some pages without Content-length never stop loading (chunking?)
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: colin, Assigned: neeti)
Details
Some pages never finish loading (throbber and status bar keep moving), even though it appears that everything has been downloaded and rendered. I see this problem a lot with older servers serving up CGI's where there is no Content-length header. With newer servers and CGI scripts where a Content-length is not generated, Mozilla DOES successfully stop loading. Why is this? I think its because the newer servers use chunked Transfer-Encoding, and this is effectively the same as passing Content-length (ie. Mozilla knows how much data to expect). Unfortunately my old FastTrack 3.01 server where I can reproduce this problem is behind a firewall, but anyone with access to a FastTrack 3.01 server should be able to reproduce this with a simple CGI such as: echo "Content-type: text/plain" echo "" echo "Content" Newer servers such as Apache 1.3.6 wrap the content up in a chunk. The older servers don't use chunking.
Comment 1•23 years ago
|
||
If the server doesn't provide a byte count, it has to disconnect instead. Some older servers appear to send Connection: Keepalive and then wait until the idle timer kicks in (often 30 secs). However, Mozilla seems to continue to attempt to download even after the socket is disconnected. There is a publically available server with this problem over on bug 64290.
Reporter | ||
Comment 2•23 years ago
|
||
As bug 64290 would suggest, if you turn OFF Keep Alive in Preferences > Debug > Networking, then this problem goes away.
Comment 4•23 years ago
|
||
I think this is a duplicate. Please reopen if you disagree. *** This bug has been marked as a duplicate of 39310 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•