-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix(NODE-4834): ensure that MessageStream is destroyed when connections are destroyed #3482
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
nbbeeken
merged 37 commits into
main
from
NODE-4834/destroy_message_stream_when_connections_are_destroyed
Dec 16, 2022
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
4130597
fix(NODE-4834): Add calls to destroy kMessageStream
W-A-James 4c10235
test(NODE-4834): WIP - Start work on unit tests
W-A-James b341938
fix(NODE-4834): Add guards to onError, onClose, onTimeout
W-A-James 032de2d
test(NODE-4834): WIP progress on unit tests
W-A-James f75e202
style(NODE-4834): Revert style changes
W-A-James 586c410
test(NODE-4834): Remove unit test 'only' annotations
W-A-James 7a8d807
test(NODE-4834): move test to more appropriate position
W-A-James 0c804a6
style(NODE-4834): Remove todo comment
W-A-James 4e5a9bb
docs(NODE-4834): Add tsdoc comments for clarification on closed and d…
W-A-James 5ccb807
style(NODE-4834): Eslint fixes
W-A-James 770d050
test(NODE-4834): Change test descriptions to match testing standards …
W-A-James 92d577d
docs(NODE-4834): Update inline documentation to reference state rathe…
W-A-James 1ada8ca
fix(NODE-4834): Address review comments
W-A-James 21dc8b4
test(NODE-4834): FakeSocket now simulates IO delay
W-A-James f5f12f5
style(NODE-4834): Revert unintended style change
W-A-James 1e5d874
test(NODE-4834): Ensure that FakeSocket.end also sets this.writableEn…
W-A-James f940281
fix(NODE-4834): Update Connection.destroy and event handler logic to …
W-A-James 927b883
test(NODE-4834): Add unit tests to check that options are treated cor…
W-A-James bf1c8f0
fix(NODE-4834): Address eslint fixes
W-A-James 452c1f0
docs(NODE-4834): Remove irrelevant docs
W-A-James dcda86c
style(NODE-4834): eslint fixes
W-A-James c74bff8
refactor(NODE-4834): Make all paths through Connection.destroy async
W-A-James 7993c4e
fix(NODE-4834): Address review comments
W-A-James e5c8e0a
test(NODE-4834): Update old test
W-A-James 6540197
test(NODE-4834): remove 'only' annotation
W-A-James 7d43afb
test(NODE-4834): Fix failing tests
W-A-James 2cdcc21
test(NODE-4834): remove debug messages
W-A-James 8d66f61
fix: only invoke callback when it is defined
nbbeeken 44d5b05
fix: lint
nbbeeken 860d741
rm: prints
nbbeeken 3b59a12
test(NODE-4834): Update tests to be more coherent
W-A-James 50fc706
test(NODE-4834): Reorganize tests
W-A-James a11a4f6
test(NODE-4834): remove to.not.have.been.calledOnce instances
W-A-James 23755ca
test(NODE-4834): Separate tests more cleanly
W-A-James 878c764
test(NODE-4834): Split up tests more cleanly
W-A-James 995700b
test(NODE-4834): fix test name typo
W-A-James c0d0189
Merge branch 'main' into NODE-4834/destroy_message_stream_when_connec…
nbbeeken 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
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.