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

Close channels on destroying errors #1215

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Conversation

MaxAake
Copy link
Contributor

@MaxAake MaxAake commented Aug 30, 2024

Set channels to close when connections are destroyed by errors. This fixes an issue where sessions would not retry if they were closed by a connection error rather than a connection termination.

includes unit tests for both destroying and non-destroying errors, ensuring that channels are closed and kept open respectively.

set channels to close when connections are destroyed by errors. includes unit tests for both destroying and non-destroying errors
@MaxAake
Copy link
Contributor Author

MaxAake commented Aug 30, 2024

Deno build was missing from last commit
Copy link
Contributor

@bigmontz bigmontz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥇

@MaxAake MaxAake merged commit c517fa9 into 5.0 Sep 3, 2024
37 checks passed
@MaxAake MaxAake deleted the 5.x-econnreset-investigation branch September 6, 2024 12:50
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