Repository navigation
ipc: report the channel close before the child's exit #39479
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 12 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
f0031ab
ipc: deliver a peer-initiated channel close from the read dispatch, b…
robobun 115e9dc
ipc: pass the libuv read-error context as a raw pointer; block the fo…
robobun 820de1d
ipc: shorten the comments on the peer-close path
robobun b80014d
ipc: on Windows, report a peer close that lands while a write is in f…
robobun 6313483
ipc: let an in-flight Windows write complete before a peer close is r…
robobun 22d2255
ipc: report the channel close from the exit path, before the exit itself
robobun 519958f
ipc: pin the disconnect-before-exit order with a node:test file that …
robobun 904dac0
ipc: at exit, close the channel on Windows without waiting for a writ…
robobun 63d7b8d
Merge branch 'main' into farm/f99e6bad/ipc-peer-close-before-exit
robobun 9cc897a
test: a child and a cluster worker that exit on their own while the p…
robobun 289e7b6
ipc: leave a channel with unread input open when the child exits
robobun 3a2a29d
types: say when onDisconnect follows onExit
robobun 080c4fb
ipc: say what happens to a channel with unread input at exit
robobun 408ae0a
ipc: run the queued close work from the exit path through run_pending
robobun a089ea7
ipc: at exit, close only a channel whose other end is gone
robobun 93747ea
sys: add recv_peek_non_block and use it for the IPC end-of-channel check
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
Some comments aren't visible on the classic Files Changed page.
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
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.