From 4677716f1fdb842a2cfda81eb194e5bd7f4cb25b Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 24 Apr 2023 11:34:08 +0800 Subject: [PATCH] 1 --- server/wsproxy/downstream.cc | 1 + server/wsproxy/downstream.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/wsproxy/downstream.cc b/server/wsproxy/downstream.cc index c030051..4b92fc2 100644 --- a/server/wsproxy/downstream.cc +++ b/server/wsproxy/downstream.cc @@ -4,6 +4,7 @@ #include "upstream.h" #include "longsessionmgr.h" #include "GCListener.h" +#include "longsession.h" #include "ss_proto.pb.h" diff --git a/server/wsproxy/downstream.h b/server/wsproxy/downstream.h index cba41cf..9416939 100644 --- a/server/wsproxy/downstream.h +++ b/server/wsproxy/downstream.h @@ -16,6 +16,6 @@ class DownStream private: int socket_handle_ = a8::INVALID_SOCKET_HANDLE; - int type_ = 0; std::weak_ptr up_; + int type_ = 0; };