Skip to content

Add recv/send timeouts to socket #205

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

Conversation

horoshenkiy
Copy link
Contributor

When I was working with the library, I found the following behavior: when my application is connecting to the clickhouse server, it may stick forever due to connection problems.

A connection to the server can be established, but nothing can be read from the socket because you try to connect to another running application in your system.

For resolving this problem I added receive and send timeouts to socket.

@CLAassistant
Copy link

CLAassistant commented Jul 30, 2022

CLA assistant check
All committers have signed the CLA.

@belousotroll
Copy link

Hello! We faced this problem in our project and this PR is the solution. Do you need any help to merge?

@horoshenkiy
Copy link
Contributor Author

Hello! We faced this problem in our project and this PR is the solution. Do you need any help to merge?

Yes, I don’t have rights for merging

@belousotroll
Copy link

belousotroll commented Aug 24, 2022

@horoshenkiy I don't have rights either. I mean do you know anything I can help with? PR is 24 days old. Is the only way to wait for a contributor?

@Enmk Enmk merged commit a63e28e into ClickHouse:master Sep 7, 2022
Enmk added a commit that referenced this pull request Sep 26, 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.

4 participants