Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(transport): Return connection error on
Channel::connect
(#413)
Before this fix, if the connect phase of the transport failed before ever establishing a connection, we would never return the error until the first call to send a request. This PR changes that behavior to only forward the error to the call method if we have ever made a connection before. If we have never established a connection before then `Reconnect` will return an error on the call to `poll_ready`. Fixes #403
- Loading branch information