Repository navigation
usockets: do not act on a peer reset while a node:net TCP socket does not read #43705
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
34
commits into
main
Choose a base branch
from
robobun/1d28c412/net-deliver-data-before-reset
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 all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
8aba821
node:net: deliver the bytes read ahead of a peer reset before the error
robobun f094134
node:net: cite the node and libuv sources for the held read error
robobun 156a117
node:tls tests: the reset behind unread data waits for the consumer
robobun fe2b492
node:net: fall back to ECONNRESET when the held error carries no errno
robobun 6147b8e
node:net: meet the held error where node's read() restarts the handle
robobun c287a6b
node:net: shorten the comments on the held error
robobun 04fed12
usockets: do not act on a peer reset while a node:net socket does not…
robobun 2af193f
usockets: mark the unused parameters of the deferral helper; update t…
robobun 6ce2d41
usockets: one-line comment for us_socket_defer_error_until_read
robobun 56af5dc
node:net: count the reads of an onread socket in bytesRead; refresh d…
robobun 98b802a
usockets: kqueue fixes for the deferred reset
robobun 2f2c09a
socket: reload() applies deferErrorUntilRead to the socket that reloads
robobun 59d5c22
usockets: defer a reset that follows a close_notify; fail a TLS write…
robobun cf3ee41
usockets: drop the hangup fallback for a failed TLS send; the write r…
robobun df4d929
usockets: kqueue keeps only the EV_CLEAR read filter for a deferred r…
robobun 8ce4d39
test: simplify the write callback in the TLS write-after-reset test
robobun d06ed96
usockets: update the write_check_error comments for TLS
robobun d1a539d
test: use describe.each for the TLS write-after-reset cases
robobun 871f901
test: write until a write fails after the peer's reset
robobun 5b13daf
test: a TLS write that meets the peer's reset on a reading socket get…
robobun 60e540d
node:tls tests: a paused socket that writes after the peer's FIN and …
robobun 858121e
test: use describe.each for the six write-after-FIN-and-reset cells
robobun dc3434d
usockets: a close does not wait for ciphertext that a dead peer can n…
robobun a9169b2
socket: a raw write under a TLS socket reports a failed send; drop th…
robobun d143ace
socket: one-line comments for the checked write
robobun 82ec650
test: the TLS socket over a net.Socket reports the reset where the fa…
robobun c4716d1
socket: name the result of the checked write; remove the unused raw_w…
robobun 06f610f
Merge remote-tracking branch 'origin/main' into robobun/1d28c412/net-…
robobun 1dc2087
test: the TLS socket over a net.Socket closes once it is read, after …
robobun c7afb62
test: assert what the TLS socket reports after a raw write to its net…
robobun adad91d
test: share one write-until-it-fails helper and one tick in node-tls-…
robobun d8b0408
tls: take the send report of #42336: shared send classification, seal…
robobun fb60b91
usockets: defer the reset for plain sockets only; the TLS send report…
robobun 3c6598b
Merge remote-tracking branch 'origin/main' into robobun/1d28c412/net-…
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
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.