diff --git a/rest_rpc/client/detail/async_rpc_session_impl.hpp b/rest_rpc/client/detail/async_rpc_session_impl.hpp index 4b4380b..79ee468 100644 --- a/rest_rpc/client/detail/async_rpc_session_impl.hpp +++ b/rest_rpc/client/detail/async_rpc_session_impl.hpp @@ -76,6 +76,7 @@ namespace timax { namespace rpc void rpc_session::start_rpc_service() { status_ = status_t::running; + call_impl(); recv_head(); setup_heartbeat_timer(); }