aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Ransom <rransom.8774@gmail.com>2012-04-17 05:40:36 -0700
committerNick Mathewson <nickm@torproject.org>2012-04-20 17:23:31 -0400
commit627c37ad6a06e3aa68e7af54cca177720a0d8267 (patch)
treeaaeffa2cfbdcc896f72452b6cb3bae6a339c01af /src
parent5630b61f5c902704f4a4438c321503da2981cdac (diff)
downloadtor-627c37ad6a06e3aa68e7af54cca177720a0d8267.tar
tor-627c37ad6a06e3aa68e7af54cca177720a0d8267.tar.gz
Don't reset intro-point creation rate-limiting timer
Previously, we would reset it at the drop of a hat -- every time a second passes without any of the intro-point circs already launched for the service failing. Fixes bug 4607.
Diffstat (limited to 'src')
-rw-r--r--src/or/rendservice.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c
index 44e669701..f2fc6a783 100644
--- a/src/or/rendservice.c
+++ b/src/or/rendservice.c
@@ -2270,14 +2270,6 @@ rend_services_introduce(void)
if (!intro_point_set_changed &&
(n_intro_points_unexpired >= service->n_intro_points_wanted)) {
- /* We have enough intro circuits in progress, and none of our
- * intro circuits have died since the last call to
- * rend_services_introduce! Start a fresh period and reset the
- * circuit count.
- *
- * XXXX WTF? */
- service->intro_period_started = now;
- service->n_intro_circuits_launched = 0;
continue;
}