From c5e5a8b6150594ebfc9ed3401c90076edd7a1f38 Mon Sep 17 00:00:00 2001 From: azw Date: Sat, 6 May 2023 15:00:54 +0000 Subject: [PATCH] 1 --- server/wsproxy/master.cc | 2 +- server/wsproxy/upstream.cc | 2 +- third_party/a8 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/wsproxy/master.cc b/server/wsproxy/master.cc index 616bfde..8aba649 100644 --- a/server/wsproxy/master.cc +++ b/server/wsproxy/master.cc @@ -31,7 +31,7 @@ void Master::Init(int instance_id, const std::string& remote_ip, int remote_port #ifdef USE_ASIO tcp_client_ = std::make_shared(remote_ip, remote_port); #else - tcp_client_ = std::make_shared(); + tcp_client_ = std::make_shared(remote_ip, remote_port); #endif tcp_client_->on_error = std::bind(&Master::on_error, this, std::placeholders::_1, std::placeholders::_2); tcp_client_->on_connect = std::bind(&Master::on_connect, this, std::placeholders::_1); diff --git a/server/wsproxy/upstream.cc b/server/wsproxy/upstream.cc index 50853b1..8c67cb8 100644 --- a/server/wsproxy/upstream.cc +++ b/server/wsproxy/upstream.cc @@ -35,7 +35,7 @@ void UpStream::Init(int instance_id, const std::string& remote_ip, int remote_po #ifdef USE_ASIO tcp_client_ = std::make_shared(remote_ip, remote_port); #else - tcp_client_ = std::make_shared(); + tcp_client_ = std::make_shared(remote_ip, remote_port); #endif tcp_client_->on_error = std::bind(&UpStream::on_error, this, std::placeholders::_1, std::placeholders::_2); tcp_client_->on_connect = std::bind(&UpStream::on_connect, this, std::placeholders::_1); diff --git a/third_party/a8 b/third_party/a8 index ed93a7c..c37b0c2 160000 --- a/third_party/a8 +++ b/third_party/a8 @@ -1 +1 @@ -Subproject commit ed93a7c237ec1e0ac12fe324ff01fb097a9cb4b7 +Subproject commit c37b0c22d95f779fdb1a7ff1963753845886d2ba