-
Notifications
You must be signed in to change notification settings - Fork 2
Crash if rejected by server. #2
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
Comments
Unitdb client does support dialing-in to multiple servers. You could specify list of servers to dial-in, so if a request is not accepted from a server it will continue to dial other servers and finally returns an error if attempts to all the servers are unsuccessful. The unitdb client returns an error if connection fails so you could choose in the application to terminate it or do some retry. |
I see. but so the bug is still there. has to be fixed. I'm afraid that the code doesn't work as you memtioned. please check these "return"s Am I the first user? :-) |
A client example is given with unitdb server listening on single node on localhost port 6080. client, err := udb.NewClient( |
err1 has to be an error if "not rc == utp.Accepted"
The text was updated successfully, but these errors were encountered: