From d3392d157922c5ed881a8c9e0a6fdc1d62ecd13d Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Fri, 22 Feb 2019 15:42:48 +0100 Subject: [PATCH] Rename AsioTlsStreamHack to UnbufferedAsioTlsStream --- lib/base/tlsstream.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.40.0