From ab0aee04d910520ca8e683356069e53997908b85 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 23 Nov 2002 08:49:03 +0000 Subject: added OnionsPerSecond to prevent create flooding first cut, probably needs more playing with svn:r137 --- src/or/or.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/or/or.h') diff --git a/src/or/or.h b/src/or/or.h index a2dd9b328..d9e466970 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -216,6 +216,8 @@ typedef struct long timestamp_created; + int onions_handled_this_second; + // uint16_t aci; /* anonymous connection identifier */ /* used by OR and OP: */ @@ -376,6 +378,7 @@ typedef struct int DirRebuildPeriod; int DirFetchPeriod; int KeepalivePeriod; + int OnionsPerSecond; int Role; int loglevel; } or_options_t; -- cgit v1.2.3