This is an automated email from the ASF dual-hosted git repository.
jpeach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new a61bccfe24 Remove unused global g_socks_conf_stuff. (#9823)
a61bccfe24 is described below
commit a61bccfe24f48679aa69b5999fe9bc93724e524a
Author: James Peach <[email protected]>
AuthorDate: Mon Jun 12 09:21:33 2023 +1000
Remove unused global g_socks_conf_stuff. (#9823)
Signed-off-by: James Peach <[email protected]>
---
iocore/net/P_Socks.h | 2 --
iocore/net/Socks.cc | 2 --
2 files changed, 4 deletions(-)
diff --git a/iocore/net/P_Socks.h b/iocore/net/P_Socks.h
index b622fb7e28..24629104df 100644
--- a/iocore/net/P_Socks.h
+++ b/iocore/net/P_Socks.h
@@ -60,8 +60,6 @@ struct socks_conf_struct {
socks_conf_struct() {}
};
-extern struct socks_conf_struct *g_socks_conf_stuff;
-
void start_SocksProxy(int port);
int loadSocksAuthInfo(swoc::TextView content, socks_conf_struct *socks_stuff);
diff --git a/iocore/net/Socks.cc b/iocore/net/Socks.cc
index 8fd4260dcc..9b478c6526 100644
--- a/iocore/net/Socks.cc
+++ b/iocore/net/Socks.cc
@@ -41,8 +41,6 @@
using namespace swoc::literals;
-socks_conf_struct *g_socks_conf_stuff = nullptr;
-
ClassAllocator<SocksEntry> socksAllocator("socksAllocator");
namespace