Skip to content
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

fix(NODE-3176): handle errors from MessageStream [PORT 4.0] #2780

Merged
merged 1 commit into from
Apr 19, 2021

Conversation

nbbeeken
Copy link
Contributor

@nbbeeken nbbeeken commented Apr 8, 2021

If there's a socket that gets a large amount of data written to it our MessageStream will throw an error about exceeding the permitted BSON size, this error is now captured in SDAM.
The code here is precisely the same as the fix in 3.6 so just asking for a sanity check here.

@nbbeeken nbbeeken requested review from emadum and dariakp April 8, 2021 14:31
@nbbeeken nbbeeken merged commit 76b110e into 4.0 Apr 19, 2021
@nbbeeken nbbeeken deleted the NODE-3176/4.0/catch-protocol-errors branch April 19, 2021 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants