summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-06-07 09:18:53 +0000
committerRoger Dingledine <arma@torproject.org>2006-06-07 09:18:53 +0000
commit91bd12c20df2c24d4248f244dbebb2bedee76599 (patch)
treee48343180e7f4e7c79cd7a91e118c41ba1be56d7 /src/or/config.c
parent741b11df454f4c7d77aacf58f05ee9a6af884474 (diff)
downloadtor-91bd12c20df2c24d4248f244dbebb2bedee76599.tar.gz
tor-91bd12c20df2c24d4248f244dbebb2bedee76599.zip
re-enable per-connection rate limiting. get rid of the "OP bandwidth"
concept. lay groundwork for "bandwidth classes" -- separate global buckets that apply depending on what sort of conn it is. svn:r6563
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/config.c b/src/or/config.c
index b1a5ebe245..c419037774 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -212,6 +212,8 @@ static config_var_t _option_vars[] = {
VAR("RecommendedClientVersions", LINELIST, RecommendedClientVersions, NULL),
VAR("RecommendedServerVersions", LINELIST, RecommendedServerVersions, NULL),
VAR("RedirectExit", LINELIST, RedirectExit, NULL),
+ VAR("RelayBandwidthBurst", MEMUNIT, RelayBandwidthBurst, "0"),
+ VAR("RelayBandwidthRate", MEMUNIT, RelayBandwidthRate, "0"),
VAR("RendExcludeNodes", STRING, RendExcludeNodes, NULL),
VAR("RendNodes", STRING, RendNodes, NULL),
VAR("RendPostPeriod", INTERVAL, RendPostPeriod, "1 hour"),