From 63472ff57014f7b80e49ed1779794ef878391c3e Mon Sep 17 00:00:00 2001 From: melpon Date: Tue, 17 Sep 2024 16:57:02 +0900 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E5=88=9D=E6=9C=9F=E5=8C=96=E3=81=AE?= =?UTF-8?q?=20insecure=5F=20=E5=A4=89=E6=95=B0=E3=82=92=E4=BD=BF=E3=81=A3?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/websocket.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/websocket.cpp b/src/websocket.cpp index 5b60a404..b2101045 100644 --- a/src/websocket.cpp +++ b/src/websocket.cpp @@ -84,6 +84,7 @@ Websocket::Websocket(https_proxy_tag, : resolver_(new boost::asio::ip::tcp::resolver(ioc)), strand_(ioc.get_executor()), close_timeout_timer_(ioc), + insecure_(insecure), https_proxy_(true), proxy_socket_(new boost::asio::ip::tcp::socket(ioc)), proxy_url_(std::move(proxy_url)), @@ -563,4 +564,4 @@ const boost::beast::websocket::close_reason& Websocket::reason() const { return IsSSL() ? wss_->reason() : ws_->reason(); } -} // namespace sora \ No newline at end of file +} // namespace sora