aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-02-19 21:30:24 +0000
committerRoger Dingledine <arma@torproject.org>2008-02-19 21:30:24 +0000
commitd964beac16d00252242609d9e5fb5459b4d76983 (patch)
tree696cdc9d517027229f4e7b076a5ff44e351a25b1 /src/or/rephist.c
parent33c754315b7f5090628c74213bc412edce270582 (diff)
downloadtor-d964beac16d00252242609d9e5fb5459b4d76983.tar
tor-d964beac16d00252242609d9e5fb5459b4d76983.tar.gz
If we only ever used Tor for hidden service lookups or posts, we
would stop building circuits and start refusing connections after 24 hours, since we false believed that Tor was dormant. Reported by nwf; bugfix on 0.1.2.x. svn:r13583
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/rephist.c b/src/or/rephist.c
index 5153d719f..429cd0e68 100644
--- a/src/or/rephist.c
+++ b/src/or/rephist.c
@@ -1546,6 +1546,7 @@ rep_hist_circbuilding_dormant(time_t now)
return 0;
/* see if we'll still need to build testing circuits */
+//XXX020 actually, is it orport_reachable or still-doing-bandwidth-tests?
if (server_mode(get_options()) && !check_whether_orport_reachable())
return 0;
if (!check_whether_dirport_reachable())