diff --git a/src/socket_type.cpp b/src/socket_type.cpp index f65b1fd86..97ae998eb 100644 --- a/src/socket_type.cpp +++ b/src/socket_type.cpp @@ -150,7 +150,7 @@ namespace aux { , t(std::make_shared(e)) , sock(s) { - t->expires_after(seconds(3)); + t->expires_from_now(seconds(3)); t->async_wait(*this); }