Repository navigation
fetch: park an unread body stream instead of buffering it without bound #39590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
c4772f6
fetch: keep a body stream nothing reads paused, and cancel it once it…
robobun 09ca80e
fetch: root the source wrapper while a native sink is wired, pin the …
robobun 4e32355
fetch: shorten the lifecycle comments
robobun 54487b2
fetch: cancel a collected body stream from the sweep itself
robobun 2d80b57
streams: cancel a mid-body producer when its native sink goes away
robobun 4bcc3ec
streams: shorten the sink teardown comments
robobun 9847560
fetch, s3: cancel a body stream through a shared ref
robobun 6d9a8ae
Merge branch 'main', dropping the previous approach
Jarred-Sumner 004a60f
fetch: park an unread body stream instead of buffering it, and let GC…
Jarred-Sumner 543210d
fetch: address review of the parked-body change
Jarred-Sumner fa3435b
[autofix.ci] apply automated fixes
autofix-ci[bot] 6d2033b
test: small unread fetch bodies still complete and reuse their connec…
Jarred-Sumner 1e50ba5
test: make the connection-reuse test exercise the unread-but-under-th…
Jarred-Sumner 805fb7c
test: don't assert server write progress in the parked-body comeback …
Jarred-Sumner 4772daa
test: report what a still-alive fetch client is holding; loosen GC su…
Jarred-Sumner d297785
test: loosen the GC survivor bound for abandoned fetch bodies
Jarred-Sumner 49e520d
ReadableStream: satisfy undocumented_unsafe_blocks in NewSource::fina…
Jarred-Sumner b0d35fe
internal-for-testing: report the event loop's liveness inputs in getE…
Jarred-Sumner effde48
RequestContext: drop the byte_stream clear end_chunk now does up front
Jarred-Sumner 672ac35
test: scale the proxied-upstream abort deadline for debug/ASAN builds
Jarred-Sumner 8f3d32d
fetch: hand buffered bytes to a new body stream before un-pausing the…
Jarred-Sumner c7df647
Leave the proxy abort fix to #36700
robobun 31d2cc3
Revert "Leave the proxy abort fix to #36700"
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.