Closed Bug 190863 Opened 22 years ago Closed 22 years ago

some Images fail to load with pipelining enabled

Categories

(Core :: Networking: HTTP, defect, P1)

x86
All
defect

Tracking

()

RESOLVED FIXED
mozilla1.3beta

People

(Reporter: Matti, Assigned: darin.moz)

References

()

Details

(Keywords: regression)

Attachments

(3 files, 1 obsolete file)

win2k and build 20030127.. (cvs trunk) and Kairo saw this also with linux and
20030126..

1) load the URL
2) use shift+reload (the images are possible already in the cache due to chatzilla)
3) random images aren't loading or only a part is loaded
4) shift+reload and different images aren't loading

works with disabled pipelining and also with 1.3a and pipelining enabled
Attached file Zipped httplog
Some images fail to load with pipelining enabled on http://www.tf1.fr/news
I don't know if this is the same bug though
Attached patch v1 patch (obsolete) — Splinter Review
turns out the async-io patch caused this regression.  when writing out the
request, we would fail if the transaction did not write all that it said it
could write provided the socket did not fail with a would block error.	this
causes problems with the way pipelined requests are written out in some cases. 
the fix is to clean up the way we write to the sockets.  the code to write to
the sockets now parallels the code to read from the sockets, which is nice.
this patch depends on the patch for bug 190549.
Severity: normal → major
Status: NEW → ASSIGNED
Depends on: 190549
Priority: -- → P1
Target Milestone: --- → mozilla1.3beta
Attachment #112883 - Flags: superreview?(bzbarsky)
Attachment #112883 - Flags: review?(dougt)
the last patch had some junk in it...
Attachment #112883 - Attachment is obsolete: true
i think this should block 1.3 beta because it breaks pipelining.
Flags: blocking1.3b?
Attachment #112886 - Flags: superreview?(bzbarsky)
Attachment #112886 - Flags: review?(dougt)
Attachment #112883 - Flags: superreview?(bzbarsky)
Attachment #112883 - Flags: review?(dougt)
another testcase is http://www.spartanbookstore.com/
Comment on attachment 112886 [details] [diff] [review]
v1.1 patch (the last patch had some junk in it)

>+            // if the transaction didn't want to write anymore data, then

"any more"

>+        // write more from the socket until error or end-of-request...

"to the socket"
Attachment #112886 - Flags: superreview?(bzbarsky) → superreview+
typos fixed in my local tree.
Attachment #112886 - Flags: review?(dougt) → review+
Comment on attachment 112886 [details] [diff] [review]
v1.1 patch (the last patch had some junk in it)

request drivers approval to land fix for this bug.  relatively low-risk.
Attachment #112886 - Flags: approval1.3b?
Comment on attachment 112886 [details] [diff] [review]
v1.1 patch (the last patch had some junk in it)

a=asa (on behalf of drivers) for checkin to 1.3beta.
Attachment #112886 - Flags: approval1.3b? → approval1.3b+
fixed-on-trunk
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
*** Bug 191082 has been marked as a duplicate of this bug. ***
Flags: blocking1.3b?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: