-
Notifications
You must be signed in to change notification settings - Fork 4.7k
http: couple fetch() receive backpressure to JS body consumption (h1/h2/h3) #29831
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
Open
robobun
wants to merge
46
commits into
main
Choose a base branch
from
farm/0a9cea98/h2-window-update-backpressure
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
8db502f
http: couple per-stream h2 WINDOW_UPDATE to JS body consumption
robobun dc050be
test: move h2 backpressure tests to standalone file
robobun 794ee0e
h2_client: clamp consumed_bytes to outstanding wire bytes
robobun 4484653
Merge branch 'main' into farm/0a9cea98/h2-window-update-backpressure
Jarred-Sumner a566b1b
h2_client: gate consumption on body_consumption_tracked, not response…
robobun 4803eac
Merge branch 'main' into farm/0a9cea98/h2-window-update-backpressure
dylan-conway fbb3f10
Merge remote-tracking branch 'origin/main' into farm/0a9cea98/h2-wind…
robobun c28c8c0
ByteStream: report pre-buffered bytes handed out via drain()
robobun 6aa5782
Merge branch 'main' into farm/0a9cea98/h2-window-update-backpressure
Jarred-Sumner 4113c53
Merge remote-tracking branch 'origin/main' into farm/0a9cea98/h2-wind…
robobun 670012d
Extend response-body backpressure to HTTP/1.1 and HTTP/3
robobun 7f808f2
Merge remote-tracking branch 'origin/main' into farm/0a9cea98/h2-wind…
robobun 08198eb
ci: retrigger gate (release WebKit now prefetched)
robobun f35a1b5
h1: resume the socket when the body completes while paused
robobun 66aab38
h1: count total_body_received delta, not raw wire bytes
robobun 77a98f2
test(h3): settle() holds for two consecutive 100ms gaps
robobun 4b5dcf6
doc: InternalState backpressure fields are h1-only
robobun 5f2d15d
ci: retrigger gate (WebKit cached in /root/.bun/build-cache)
robobun 1c38a8f
test(h1): extend cancel-test stall pump to 256 MiB
robobun 8709b87
h1 backpressure: observe pause/resume from the client; count body_out…
robobun e55438d
doc: ByteStream.drain comment is transport-agnostic too
robobun 530c155
doc: body_consumption_tracked comments transport-agnostic (Signals, i…
robobun 9b3b4b8
Merge remote-tracking branch 'origin/main' into farm/0a9cea98/h2-wind…
robobun 3b6d8f1
h1: bump h1_socket_resumes on every receive_paused clear; refresh 'wi…
robobun 71af8d5
Cover remaining receive_paused edges and pre-buffered drain credits
robobun c88346f
HTTPThread: only wakeup on consume append, not coalesce
robobun 783f56a
Raise receive_body_high_water 1→4 MiB, low_water 256K→1 MiB
robobun ceea99e
Merge remote-tracking branch 'origin/main' into farm/0a9cea98/h2-wind…
robobun 90bd4c9
h1: don't re-arm idle timeout during repeat-recv while paused; test f…
robobun ac57e89
test(node-http-backpressure-max): raise timeout 60→120s for darwin-14…
robobun 425d2e2
Merge remote-tracking branch 'origin/main' into farm/0a9cea98/h2-wind…
robobun e30543a
Merge remote-tracking branch 'origin/main' into farm/841d7d2d/fix-280…
robobun aa454aa
test: fetch().body.pipeThrough() propagates backpressure to socket (#…
robobun 896feb4
Signals.isEmpty: include body_consumption_tracked in the null check
robobun 3b45ea1
Merge remote-tracking branch 'origin/main' into farm/0a9cea98/h2-wind…
robobun 99915ab
test(node-http-backpressure): raise INT_MAX timeouts 30→60s for darwi…
robobun 3c33ac6
FetchTasklet: rename clearStreamCancelHandler → clearStreamHandlers
robobun 67640e5
Merge remote-tracking branch 'origin/main' into farm/0a9cea98/h2-wind…
robobun 338b758
[autofix.ci] apply automated fixes
autofix-ci[bot] c35a549
ci: retrigger (darwin x64 build-rust agent terminated mid-build on #5…
robobun 61e10b4
Merge remote-tracking branch 'origin/main' into farm/0a9cea98/h2-wind…
robobun 59f65dc
http: fix consume_response_body doc — h2/h3 route to their session ha…
robobun bf070b0
Merge remote-tracking branch 'origin/main' into farm/0a9cea98/h2-wind…
robobun 39bee27
Merge remote-tracking branch 'origin/main' into farm/0a9cea98/h2-wind…
robobun 574eedb
Merge remote-tracking branch 'origin/main' into farm/0a9cea98/h2-wind…
robobun df93330
test: surface child stderr when lineReader hits EOF before the awaite…
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.