This is an automated email from the ASF dual-hosted git repository.
JosiahWI 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 77b6efcf33 Remove unused RemapProcessor.h include from RemapPlugins.h
(#13403)
77b6efcf33 is described below
commit 77b6efcf3378de3511d79de6efa2955a0b51d53b
Author: Sergey Blekher <[email protected]>
AuthorDate: Tue Jul 21 01:15:07 2026 +0300
Remove unused RemapProcessor.h include from RemapPlugins.h (#13403)
RemapPlugins.h includes RemapProcessor.h, and RemapProcessor.h includes
RemapPlugins.h back, forming an include cycle. RemapPlugins.h does not use
RemapProcessor: the class derives from Continuation and its members are
HttpTransact::State, URL and HTTPHdr, none of which come from
RemapProcessor.h.
Everything RemapPlugins.h needs already arrives through its other includes
(EventSystem.h, HttpTransact.h, RemapPluginInfo.h), which are also the only
things RemapProcessor.h contributed to the include closure. Removing the
include breaks the cycle with no call-site changes.
---
include/proxy/http/remap/RemapPlugins.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/proxy/http/remap/RemapPlugins.h
b/include/proxy/http/remap/RemapPlugins.h
index 643231f161..a0f01c728f 100644
--- a/include/proxy/http/remap/RemapPlugins.h
+++ b/include/proxy/http/remap/RemapPlugins.h
@@ -26,7 +26,6 @@
#include "tscore/ink_platform.h"
#include "iocore/eventsystem/EventSystem.h"
-#include "proxy/http/remap/RemapProcessor.h"
#include "proxy/http/remap/RemapPluginInfo.h"
#include "proxy/http/HttpTransact.h"
#include "proxy/ReverseProxy.h"