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; };