mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Improve SSLHTTPDownloader:
* Use TLS 1.2 * Make certificate verification configurable
This commit is contained in:
committed by
Nik Bougalis
parent
1084dc6dd3
commit
56bc2a2ade
@@ -65,8 +65,10 @@ public:
|
||||
private:
|
||||
boost::asio::ssl::context ctx_;
|
||||
boost::asio::io_service::strand strand_;
|
||||
boost::asio::ssl::stream<boost::asio::ip::tcp::socket> stream_;
|
||||
boost::optional<
|
||||
boost::asio::ssl::stream<boost::asio::ip::tcp::socket>> stream_;
|
||||
boost::beast::flat_buffer read_buf_;
|
||||
bool ssl_verify_;
|
||||
beast::Journal j_;
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user