aboutsummaryrefslogtreecommitdiff
path: root/src/common.hh
diff options
context:
space:
mode:
authorfusion32 <marcopuzziello@gmail.com>2026-03-20 17:50:54 -0300
committerfusion32 <marcopuzziello@gmail.com>2026-03-20 17:50:54 -0300
commit27ae2780288cacf6de913e049de0138c0a4266ec (patch)
tree2587765b88fadb5d5e83806a53f588fff29d62b1 /src/common.hh
parent66a3212bc112ace10c008fddee9d27a99b1e95d8 (diff)
downloadlogin-27ae2780288cacf6de913e049de0138c0a4266ec.tar.gz
login-27ae2780288cacf6de913e049de0138c0a4266ec.zip
support for proxy headers
Diffstat (limited to 'src/common.hh')
-rw-r--r--src/common.hh4
1 files changed, 4 insertions, 0 deletions
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];