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

Socket RAII wrapper to prevent leaking socket #228

Merged
merged 2 commits into from
Oct 17, 2022

Conversation

Enmk
Copy link
Collaborator

@Enmk Enmk commented Oct 17, 2022

Added a RAII wrapper around raw SOCKET to perform proper cleanup in case of exception or retry.

Closes: #208

@Enmk Enmk merged commit 0ef73e2 into ClickHouse:master Oct 17, 2022
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.

Library leaks sockets when it cannot connect to the database
1 participant