ssl: buffered handshake detection

This commit is contained in:
anon 2020-12-27 01:55:12 +00:00 committed by selsta
parent 7438617bbf
commit f7ab8bc6d4
5 changed files with 14 additions and 13 deletions

View file

@ -132,6 +132,7 @@ namespace net_utils
bool handshake(
boost::asio::ssl::stream<boost::asio::ip::tcp::socket> &socket,
boost::asio::ssl::stream_base::handshake_type type,
boost::asio::const_buffer buffer = {},
const std::string& host = {},
std::chrono::milliseconds timeout = std::chrono::seconds(15)) const;
};