From c748f8fa52ba9bb217eb8cc8c6538f0759d03331 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 24 Mar 2024 19:32:34 +0800 Subject: [PATCH] 1 --- server/wsproxy/mastermgr.cc | 8 ++++++++ server/wsproxy/types.h | 13 ------------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/server/wsproxy/mastermgr.cc b/server/wsproxy/mastermgr.cc index b3279b3..cefa2fa 100644 --- a/server/wsproxy/mastermgr.cc +++ b/server/wsproxy/mastermgr.cc @@ -19,6 +19,14 @@ #include "downstreammgr.h" #include "GCListener.h" +struct HttpTunnelRequest +{ + int socket_handle = 0; + long long context_id = 0; + f8::TimerWp timer_wp; + std::shared_ptr request; +}; + class RequestTarget { public: diff --git a/server/wsproxy/types.h b/server/wsproxy/types.h index 56581e6..a6061ab 100644 --- a/server/wsproxy/types.h +++ b/server/wsproxy/types.h @@ -1,10 +1,5 @@ #pragma once -namespace f8 -{ - class JsonHttpRequest; -} - struct PerfMonitor { int max_run_delay_time = 0; @@ -16,11 +11,3 @@ struct PerfMonitor long long in_data_size = 0; long long read_count = 0; }; - -struct HttpTunnelRequest -{ - int socket_handle = 0; - long long context_id = 0; - f8::TimerWp timer_wp; - std::shared_ptr request; -};