Closed Bug 1750056 Opened 3 years ago Closed 3 years ago

Consume the buffer in ReadSegments if we're not going to keep reading.

Categories

(Core :: Networking, defect)

defect

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox-esr91 97+ fixed
firefox96 + wontfix
firefox97 + fixed
firefox98 + fixed

People

(Reporter: emilio, Assigned: emilio)

References

Details

Attachments

(1 file, 1 obsolete file)

As per RelMan request moving the second patch from the dependent bug to here to ease tracking.

This is an error case but will avoid the infinite loop.

Dragana helpfully pointed me to netwerk/test/unit/test_http3_large_post.js for tests so I'll try :-)

Flags: needinfo?(emilio)

Confirmed this triggers the original bug.

Flags: needinfo?(emilio)

As per off-bugzilla discussion, let's go for bug 1750587 + the NS_ERROR_UNEXPECTED patch, and make this just about the test.

See Also: → 1750587
Attachment #9259244 - Attachment description: Bug 1750056 - Add test for this and blocked bug. r=dragana → Bug 1750056 - Add test for blocked bug. r=dragana
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e78a6f5feb98 Add test for blocked bug. r=dragana,necko-reviewers
Attachment #9258983 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: