Skip to content

fix expectedLength getting lost on stream-backed response bodies - #5115

Merged
anonrig merged 2 commits into
mainfrom
yagiz/fix-new-request-loses-expectedLength
Sep 18, 2025
Merged

anonrig merged 2 commits into
mainfrom
yagiz/fix-new-request-loses-expectedLength

Conversation

@anonrig

@anonrig anonrig commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

Fixes #5113

Thanks @kitten for finding and reproducing this bug.

Comment thread src/workerd/api/http.c++ Resolved
@anonrig
anonrig force-pushed the yagiz/fix-new-request-loses-expectedLength branch from ddfa5f0 to 07d6cf2 Compare September 17, 2025 15:52
Comment thread src/workerd/api/tests/streams-test.js Resolved
Comment thread src/workerd/api/http.c++ Resolved
@anonrig
anonrig force-pushed the yagiz/fix-new-request-loses-expectedLength branch from 07d6cf2 to 32de5d4 Compare September 18, 2025 16:06
@anonrig
anonrig requested review from jasnell and kentonv September 18, 2025 16:09
@anonrig
anonrig force-pushed the yagiz/fix-new-request-loses-expectedLength branch from 32de5d4 to 2329edf Compare September 18, 2025 19:12
@anonrig

anonrig commented Sep 18, 2025

Copy link
Copy Markdown
Contributor Author

Rebased and force pushed.

@anonrig
anonrig enabled auto-merge (rebase) September 18, 2025 19:40
@anonrig
anonrig merged commit 9a290b6 into main Sep 18, 2025
@anonrig
anonrig deleted the yagiz/fix-new-request-loses-expectedLength branch September 18, 2025 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 Bug Report — new Request loses expectedLength of ReadableStream body

5 participants