Rename AsioTlsStreamHack to UnbufferedAsioTlsStream

This commit is contained in:
Alexander A. Klimov 2019-02-22 15:42:48 +01:00
parent e129c561d5
commit d3392d1579
1 changed files with 3 additions and 3 deletions

View File

@ -99,17 +99,17 @@ private:
void CloseInternal(bool inDestructor); void CloseInternal(bool inDestructor);
}; };
class AsioTlsStreamHack : public boost::asio::ssl::stream<boost::asio::ip::tcp::socket> class UnbufferedAsioTlsStream : public boost::asio::ssl::stream<boost::asio::ip::tcp::socket>
{ {
public: public:
inline inline
AsioTlsStreamHack(std::pair<boost::asio::io_service*, boost::asio::ssl::context*>& init) UnbufferedAsioTlsStream(std::pair<boost::asio::io_service*, boost::asio::ssl::context*>& init)
: stream(*init.first, *init.second) : stream(*init.first, *init.second)
{ {
} }
}; };
class AsioTlsStream : public boost::asio::buffered_stream<AsioTlsStreamHack> class AsioTlsStream : public boost::asio::buffered_stream<UnbufferedAsioTlsStream>
{ {
public: public:
inline inline