This is an automated email from the ASF dual-hosted git repository.

maskit 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 15de766fd3 cleanup: Resolve some of dependencies on private headers 
(proxy) (#11288)
15de766fd3 is described below

commit 15de766fd3b8154915897e6c393a4ad91df5e642
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Fri Apr 26 09:08:07 2024 -0600

    cleanup: Resolve some of dependencies on private headers (proxy) (#11288)
---
 include/proxy/ProxySession.h   | 2 +-
 src/proxy/ProxySession.cc      | 1 +
 src/proxy/logging/LogAccess.cc | 1 +
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/proxy/ProxySession.h b/include/proxy/ProxySession.h
index 4965428564..a9eebd1008 100644
--- a/include/proxy/ProxySession.h
+++ b/include/proxy/ProxySession.h
@@ -31,7 +31,6 @@
 #include "api/InkAPIInternal.h"
 #include "proxy/http/HttpSessionAccept.h"
 #include "proxy/IPAllow.h"
-#include "../../src/proxy/private/SSLProxySession.h"
 
 // Emit a debug message conditional on whether this particular client session
 // has debugging enabled. This should only be called from within a client 
session
@@ -43,6 +42,7 @@
 
 class ProxyTransaction;
 class PoolableSession;
+class SSLProxySession;
 
 enum class ProxyErrorClass {
   NONE,
diff --git a/src/proxy/ProxySession.cc b/src/proxy/ProxySession.cc
index c2911ddd4f..24dd58813b 100644
--- a/src/proxy/ProxySession.cc
+++ b/src/proxy/ProxySession.cc
@@ -25,6 +25,7 @@
 #include "proxy/http/HttpDebugNames.h"
 #include "proxy/ProxySession.h"
 #include "iocore/net/TLSBasicSupport.h"
+#include "private/SSLProxySession.h"
 
 std::map<int, std::function<PoolableSession *()>> ProtocolSessionCreateMap;
 
diff --git a/src/proxy/logging/LogAccess.cc b/src/proxy/logging/LogAccess.cc
index a1cd9222c9..3ccf67dcf9 100644
--- a/src/proxy/logging/LogAccess.cc
+++ b/src/proxy/logging/LogAccess.cc
@@ -31,6 +31,7 @@
 #include "proxy/logging/LogFormat.h"
 #include "proxy/logging/LogBuffer.h"
 #include "tscore/Encoding.h"
+#include "../private/SSLProxySession.h"
 
 char INVALID_STR[] = "!INVALID_STR!";
 

Reply via email to