summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-10-30 01:00:52 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-10-30 01:00:52 +0100
commit79f4110365fe85f4377c50f0893134a8d5e45575 (patch)
treee69f5ceae67e4f283bede83f6649b7df0ded7076 /trackerlogic.h
parentd92945fe3a7960cfc7ddfd70a9a37d6db666c1e2 (diff)
Consolidate all tcp/http tear down into a single http_close function to prevent a rare UAF for expiring connections
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index 7d0693a..d269267 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -32,8 +32,12 @@ typedef struct {
32#define OT_TIME_SIZE 1 32#define OT_TIME_SIZE 1
33 33
34/* Some tracker behaviour tunable */ 34/* Some tracker behaviour tunable */
35#ifndef OT_CLIENT_TIMEOUT
35#define OT_CLIENT_TIMEOUT 30 36#define OT_CLIENT_TIMEOUT 30
37#endif
38#ifndef OT_CLIENT_TIMEOUT_CHECKINTERVAL
36#define OT_CLIENT_TIMEOUT_CHECKINTERVAL 10 39#define OT_CLIENT_TIMEOUT_CHECKINTERVAL 10
40#endif
37#define OT_CLIENT_TIMEOUT_SEND (60 * 15) 41#define OT_CLIENT_TIMEOUT_SEND (60 * 15)
38#define OT_CLIENT_REQUEST_INTERVAL (60 * 30) 42#define OT_CLIENT_REQUEST_INTERVAL (60 * 30)
39#define OT_CLIENT_REQUEST_VARIATION (60 * 6) 43#define OT_CLIENT_REQUEST_VARIATION (60 * 6)