Skip to content

Properly handle terminated connection by the server and fix CI #226

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

Open
wants to merge 4 commits into
base: async-await
Choose a base branch
from

Conversation

azat
Copy link
Contributor

@azat azat commented Apr 15, 2025

Previously ClickhouseTransport::poll_next did not tries to process
packets if the server closed the connection, however there can be some
packet (likely Exception), that we need to pass to user.

Also this will avoid panic in case of missing Hello packet, i.e. in
case of credentials mismatch.

azat added 4 commits April 15, 2025 22:53
Previously ClickhouseTransport::poll_next did not tries to process
packets if the server closed the connection, however there can be some
packet (likely Exception), that we need to pass to user.

Also this will avoid panic in case of missing Hello packet, i.e. in
case of credentials mismatch.
@azat azat changed the title Properly handle terminated connection by the server Properly handle terminated connection by the server and fix CI Apr 15, 2025
azat added a commit to azat/chdig that referenced this pull request Apr 15, 2025
@azat
Copy link
Contributor Author

azat commented Apr 18, 2025

@suharev7 kind ping on this one (it will fix CI that is broken now and some minor fixes for connection)

@azat
Copy link
Contributor Author

azat commented Apr 19, 2025

FWIW I also have an mTLS support here - azat-rust#3

Will submit it after this (due to conflicts in CI)

@azat
Copy link
Contributor Author

azat commented Apr 27, 2025

Hi @suharev7. Kind ping on this one

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.

1 participant