Skip to content

Commit

Permalink
未初期化の insecure_ 変数を使っていた
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon authored Sep 17, 2024
1 parent 426adb9 commit 63472ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/websocket.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down Expand Up @@ -563,4 +564,4 @@ const boost::beast::websocket::close_reason& Websocket::reason() const {
return IsSSL() ? wss_->reason() : ws_->reason();
}

} // namespace sora
} // namespace sora

0 comments on commit 63472ff

Please sign in to comment.