diff --git a/websocketpp/transport/asio/connection.hpp b/websocketpp/transport/asio/connection.hpp index 2274725b04..df64c6c952 100644 --- a/websocketpp/transport/asio/connection.hpp +++ b/websocketpp/transport/asio/connection.hpp @@ -461,6 +461,7 @@ protected: */ void set_handle(connection_hdl hdl) { m_connection_hdl = hdl; + socket_con_type::set_handle(hdl); } /// Trigger the on_interrupt handler