Repository navigation
node:http: the server follows Node (request body, framing, response finish, lifecycle) #43557
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
Jarred-Sumner
merged 65 commits into
main
from
robobun/87542590/req-complete-while-paused
Sep 26, 2026
Merged
Changes from all commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
21ff5d1
node:http: keep receiving the request body while the IncomingMessage …
robobun fffc5e7
ci: retrigger
robobun 74f5a14
node:http: test the half-close of a paused request, drop the comment
robobun fb9980e
node:http: one read flow-control path for request bodies, no native p…
Jarred-Sumner 43bce61
node:http: a paused Upgrade request keeps its body when its listener …
Jarred-Sumner 816f734
node:http: state what get_bytes does when the chunk buffer cannot be …
robobun cda2e43
node:http: drop the part of a comment that described the removed paus…
robobun a307bdd
node:http: one state model for the request body; a body outlives res.…
Jarred-Sumner 18f02bd
node:http: a close during a parse waits for the message that is being…
Jarred-Sumner a0c433b
node:http: CONNECT and Upgrade tunnel sockets get read backpressure
Jarred-Sumner 7fe7593
[autofix.ci] apply automated fixes
autofix-ci[bot] a10fe80
Update llhttp from 9.3.0 to 9.4.2, the version in Node 26
Jarred-Sumner b7af587
node:http: one upgrade verdict for the parser and the dispatcher, and…
Jarred-Sumner b9e2d9c
node:http: request framing hardening in the parser
Jarred-Sumner edd3daf
node:http: declare kOnReadParsed in the NodeHTTPServerSocket class body
robobun e079533
node:http: the response write path follows Node
Jarred-Sumner 78978d8
node:http: a response finishes when its last bytes leave the socket
Jarred-Sumner 7f7a3dd
node:http: server and connection lifecycle follow Node
Jarred-Sumner 4b89aa5
node:http: nine JavaScript API points follow Node
Jarred-Sumner 9bfc86d
node:http: stop using the response data after the read-parsed callbac…
robobun 34b821d
node:http test: destroy the server side of the tunnel before the test…
Jarred-Sumner d8a6f3a
node:http: test a late pipelined body followed by the next request
robobun e17c43e
node:http: test that two late pipelined bodies reach their own request
robobun abc8237
node:http: test a paused Upgrade request destroyed in its listener un…
robobun 6d5d4ef
node:http test: the write callback tests use a body that backs up the…
robobun 584c394
node:http: write() to a response without a body does not wait for the…
robobun 2a38b58
node:http test: the reset test accepts a write that Winsock took whole
robobun 8e81078
node:http: an idle tunnel does not hold the event loop after server.c…
robobun f403766
test: two node:http close() tests follow the contract that counts con…
robobun 8c912bf
node:http test: the reset test asserts one outcome per case
robobun 9241789
node:http: shorten the comments of the idle tunnel count
robobun 53bb971
node:http: a connection is idle again when its body ends after its re…
robobun 8e7dd6d
node:http: a connection that owes a queued response is not idle
robobun bb9380f
node:http: close() does not reap a connection that still receives a r…
robobun 65677d6
node:http: close() leaves a partial request head and an undrained res…
robobun b4abe3e
node:http: the body of a paused pipelined request stops the connection
robobun f01e6ec
child_process: sending an http.Server over IPC throws again
robobun fbe391a
node:http: a tunnel write waits behind response bytes that uWS still …
robobun 0e98b99
node:http: an upgrade from the body handler keeps the body out of the…
robobun 225fad8
node:http: closeIdleConnections() after close() asks uWS which connec…
robobun 6be5ff5
node:http: close() reports 'close' when listen() follows it at once
robobun 54100ff
node:http: a raw socket write behind response bytes goes through the …
robobun e29d736
node:http: close() counts a connection that its idle sweep closes as …
robobun 4acb988
node:http: shorten two comments of the held socket write
robobun 0150e75
node:http: the uWS buffer takes the rest of a raw write that no drain…
robobun 7c222da
node:http: a raw socket write goes out behind the zero-copy tail of a…
robobun 96a650f
node:http: the idle tunnel count asserts its balance in debug builds
robobun 2512d4c
node:http: the callback of a write that the uncork leaves buffered ru…
robobun 7abb323
node:http: a raw socket write goes out behind the cork buffer too
robobun ceb2cf2
node:http: a tunnel write that waits for a drain settles when the con…
robobun 781971d
node:http: reconcile with main after the rebase
Jarred-Sumner 2e35eaa
node:http: fix four regressions against main
Jarred-Sumner 83af4da
node:http: http.Server does not extend net.Server
Jarred-Sumner de16451
[autofix.ci] apply automated fixes
autofix-ci[bot] 8834cd0
node:http: address the open review threads
Jarred-Sumner 1dba6d4
node:http test: two tests follow closeAllConnections() keeping the li…
Jarred-Sumner 1ed881f
node:http: Expect and maxRequestsPerSocket apply to HTTP/1.1 only
Jarred-Sumner a771572
http: a body that does not fit the cork buffer goes out in one write
Jarred-Sumner 0e1a98c
http: several writes in one tick go out in one write
Jarred-Sumner 6427576
node:http: remove the pause spill, and fix review findings
Jarred-Sumner fe0ed1f
usockets: include limits.h for INT_MAX in bsd.c
Jarred-Sumner ef4e103
node:http: fix a hang, the body of a HEAD request, and 'prefinish'
Jarred-Sumner c353dbc
node:http: req.complete in 'connect' and 'upgrade', and parser.incoming
Jarred-Sumner 04eb197
node:http: res.end() on a dead fallback connection does not finish
Jarred-Sumner 219fc56
fetch test: the cancel test waits for the abort, not for a quiet period
Jarred-Sumner 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
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.