From 79f4110365fe85f4377c50f0893134a8d5e45575 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Fri, 30 Oct 2026 01:00:52 +0100 Subject: Consolidate all tcp/http tear down into a single http_close function to prevent a rare UAF for expiring connections --- trackerlogic.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'trackerlogic.h') diff --git a/trackerlogic.h b/trackerlogic.h index 7d0693a..d269267 100644 --- a/trackerlogic.h +++ b/trackerlogic.h @@ -32,8 +32,12 @@ typedef struct { #define OT_TIME_SIZE 1 /* Some tracker behaviour tunable */ +#ifndef OT_CLIENT_TIMEOUT #define OT_CLIENT_TIMEOUT 30 +#endif +#ifndef OT_CLIENT_TIMEOUT_CHECKINTERVAL #define OT_CLIENT_TIMEOUT_CHECKINTERVAL 10 +#endif #define OT_CLIENT_TIMEOUT_SEND (60 * 15) #define OT_CLIENT_REQUEST_INTERVAL (60 * 30) #define OT_CLIENT_REQUEST_VARIATION (60 * 6) -- cgit v1.3