-
Notifications
You must be signed in to change notification settings - Fork 4.7k
fix node:http proxy support: createConnection, upgrade sockets, socket cleanup, connection close #28397
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
fix node:http proxy support: createConnection, upgrade sockets, socket cleanup, connection close #28397
Changes from 3 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
70dd062
fix node:http proxy support: createConnection, upgrade sockets, socke…
robobun d400ae9
fix lint: prefix unused shouldKeepAlive parameter with underscore
robobun fa2cb42
address review: join duplicate headers, use setImmediate in test, fix…
robobun a10f89c
fix upgrade close handler spurious error, capture leftover bytes as h…
robobun 5fa3a43
format: run prettier on _http_client.ts
robobun d1fc905
fix parser double-free, use IncomingMessage for upgrade response, rem…
robobun fda3158
format: alphabetize imports
robobun 34676b8
fix chunked TE body framing in createConnection path
robobun 21b707b
fix use-after-free: return after close() in non-chunked tryEnd path
robobun e5b0fa3
fix empty chunked body terminator and double error emission on connec…
robobun cecb8df
fix parser error double-emit, post-upgrade error guard, upgrade req/r…
robobun 35f960c
check parser.finish() errors, clear timeout on upgrade, use describe.…
robobun 1c45787
fix premature close after response, prevent double close on abort
robobun 5a80b9f
fix zero-length Buffer chunked double-terminator
robobun c115786
fix request-smuggling regression: shutdown-only on post-uncork close,…
robobun ddfeac9
trigger CI rebuild
robobun 01b5e18
drop async chunked close fix (conflicts with request-smuggling tests)…
robobun b493dd0
fix upgrade: call markAsUpgraded after emit, skip bidirectional test …
robobun 3816143
add markAsUpgraded to CONNECT handler for Zig-level guards
robobun 19031e1
revert markAsUpgraded from CONNECT handler (causes CI failures on Linux)
robobun cc091a3
retrigger CI
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
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.