mirror of
https://github.com/monero-project/monero.git
synced 2025-05-08 18:34:59 -04:00
ssl: buffered handshake detection
This commit is contained in:
parent
7438617bbf
commit
f7ab8bc6d4
5 changed files with 14 additions and 13 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue