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

Removal of duplicate error listener on socket #1213

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

MaxAake
Copy link
Contributor

@MaxAake MaxAake commented Aug 29, 2024

The socket adds a listener for 'error' events twice, this results in the same error messages being handled twice, causing confusing logs and potentially unwanted behaviors.

This PR removes one of the listeners, resulting in just one listener on the socket.

@MaxAake
Copy link
Contributor Author

MaxAake commented Aug 29, 2024

@MaxAake MaxAake requested a review from bigmontz August 29, 2024 10:50
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 6ad3e20 into 5.0 Aug 30, 2024
37 checks passed
@bigmontz bigmontz deleted the 5.x-econnreset-investigation branch August 30, 2024 12:09
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