diff --git a/client_http.hpp b/client_http.hpp index e020fe6..c294e99 100644 --- a/client_http.hpp +++ b/client_http.hpp @@ -103,7 +103,7 @@ namespace SimpleWeb { timer->cancel(); if(ec) { std::lock_guard lock(socket_mutex); - socket=nullptr; + this->socket=nullptr; throw boost::system::system_error(ec); } });