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

fix handling with IO error #123

Merged
merged 1 commit into from
Aug 24, 2023
Merged

Conversation

songqing
Copy link
Contributor

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

When the server returns "TTransportException", the client tries to reConnect() before, however, "Timeout" or other error also belong to "TTransportException", and these errors don't need to reConnect();

How do you solve it?

Only error of "END_OF_FILE" and "Connection reset by peer" try to reConnect()

@wey-gu wey-gu requested a review from Shylock-Hg August 23, 2023 15:02
@Shylock-Hg Shylock-Hg merged commit 1af0ff7 into vesoft-inc:master Aug 24, 2023
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