From 65c3b2404560b976bfeff0db190c97d4b9487644 Mon Sep 17 00:00:00 2001 From: denis <> Date: Fri, 14 Dec 2007 22:01:14 +0000 Subject: add support for more stats: 1. stats for added and removed torrents 2. stats for start and stopped events from peers this should help to detect DoS attacks and is useful for profiling --- ot_mutex.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ot_mutex.h') diff --git a/ot_mutex.h b/ot_mutex.h index 01ceefd..c098343 100644 --- a/ot_mutex.h +++ b/ot_mutex.h @@ -24,6 +24,8 @@ typedef enum { TASK_STATS_TPB = 0x0007, TASK_STATS_HTTPERRORS = 0x0008, TASK_STATS_TORRENTS = 0x0009, + TASK_STATS_STARTSTOP = 0x000a, + TASK_STATS_TORADDREM = 0x000b, TASK_STATS_SLASH24S = 0x0100, -- cgit v1.2.3