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
Timout should be applied when waiting for connection #114
Comments
Thanks for reporting this. The problem occurs because the client connects asynchronously and waits for the connection at the very first call. I forgot about this waiting and the timeout is not added at that point. I'm going to think about this. I'd like to avoid having a |
OK, this should be a simple fix, but there is no easy workaround. It will be added here: |
This was released: https://github.com/rpclib/rpclib/releases/tag/v2.1.0 |
@sztomi @dkozel
another example is when server disconnects:
EDIT: adding a check on get_connection_state doesn't even help because initally state is
initial
so looks like
timeout
isnt' currently very useful; any workaround?The text was updated successfully, but these errors were encountered: