diff --git a/lib/base/tlsstream.hpp b/lib/base/tlsstream.hpp index cca8cb286..0dfb4e312 100644 --- a/lib/base/tlsstream.hpp +++ b/lib/base/tlsstream.hpp @@ -99,17 +99,17 @@ private: void CloseInternal(bool inDestructor); }; -class AsioTlsStreamHack : public boost::asio::ssl::stream +class UnbufferedAsioTlsStream : public boost::asio::ssl::stream { public: inline - AsioTlsStreamHack(std::pair& init) + UnbufferedAsioTlsStream(std::pair& init) : stream(*init.first, *init.second) { } }; -class AsioTlsStream : public boost::asio::buffered_stream +class AsioTlsStream : public boost::asio::buffered_stream { public: inline