From 27ae2780288cacf6de913e049de0138c0a4266ec Mon Sep 17 00:00:00 2001 From: fusion32 Date: Fri, 20 Mar 2026 17:50:54 -0300 Subject: support for proxy headers --- src/common.hh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common.hh') diff --git a/src/common.hh b/src/common.hh index fd87888..25259f7 100644 --- a/src/common.hh +++ b/src/common.hh @@ -562,9 +562,13 @@ struct TConnection { ConnectionState State; int Socket; int IPAddress; + int RemotePort; int StartTime; int RWSize; int RWPosition; +#if ALLOW_LOCAL_PROXY + bool ReadingProxyHeader; +#endif uint32 RandomSeed; uint32 XTEA[4]; char RemoteAddress[32]; -- cgit v1.2.3