We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f9ac6f commit ca2c4efCopy full SHA for ca2c4ef
include/boost/redis/detail/connector.hpp
@@ -42,10 +42,10 @@ struct connect_op {
42
ctor_->endpoint_ = ep;
43
44
if (ec == asio::error::operation_aborted) {
45
- ec == error::connect_timeout;
+ self.complete(redis::error::connect_timeout);
46
+ } else {
47
+ self.complete(ec);
48
}
-
- self.complete(ec);
49
50
51
};
include/boost/redis/detail/resolver.hpp
@@ -41,9 +41,10 @@ struct resolve_op {
41
resv_->results_ = res;
- ec == error::resolve_timeout;
+ self.complete(error::resolve_timeout);
0 commit comments