-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Fix ReadableStream reference management for Request/Response bodies #23254
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
Closed
Closed
Changes from 21 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
da9b27f
initial
Jarred-Sumner d9a7dab
a
Jarred-Sumner a9c930d
finish
Jarred-Sumner a4c4bcd
a
Jarred-Sumner 53001dd
Merge branch 'main' into jarred/readable-stream-strong
Jarred-Sumner 699d847
Fix body-stream test hang and ReadableStream.Ref ownership issues
5f1c745
Fix ReadableStream.Ref to use strong references when owner has no JSV…
24c7dbf
[autofix.ci] apply automated fixes
autofix-ci[bot] 460c31a
Fix critical GC and stream ownership issues from code review
ff0fb1e
Fix async generator Response body hang by upgrading Ref to strong
60322d7
Fix Request body stream timeout by upgrading to strong ref
c470ef9
Implement fallback strong ref architecture for Request bodies
ad733f2
Add this_jsvalue field to Request for proper GC cache support
2c847c1
Remove debug logging from Body and ReadableStream
af6fa5b
Add this_jsvalue.finalize() cleanup in Request.finalize()
26cbce6
Store JSValue wrapper in Request.toJS() and fix owner syntax consistency
53c301d
Fix Content-Type header regression in ensureFetchHeaders
100b7fc
Add setValue calls in doClone to properly initialize Ref with tee'd s…
07b3a65
Revert "Add setValue calls in doClone to properly initialize Ref with…
817ebbe
Revert unintended test refactoring in body-stream.test.ts
a6745df
Add request body abort logic in RequestContext.finalize
a68d917
Fix critical GC issues in ReadableStream lifecycle
d56fd9a
Fix missing readable ref assignment in drain conversion path
35338e6
Merge branch 'main' into jarred/readable-stream-strong
cirospaciari 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
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.
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.