This is a backport PR for branch 44-x-y
MarshallOfSound

#53373: fix: settle pending upload stream reads when a net.request ends

Merged
Created: Sep 1, 2026, 11:10:46 AM
Merged: Sep 1, 2026, 1:16:25 PM
1 comments
Target: 44-x-y

Backport of #53341

See that PR for details. The observer overrides that Chromium 153 removed on main (OnSharedStorageHeaderReceived) are kept on the new SimpleURLLoaderClient here since this line's Chromium still has them.

Notes: Fixed a pending read on a net.request chunked upload stream inside a protocol handler never settling when the request failed or was aborted.

Backport Information

Original PR Author
MarshallOfSound
Original PR Status
Merged
Original PR Merged At
Sep 1, 2026, 10:31:43 AM
Original PR Link
GitHubView on GitHub

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron