aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-25 12:53:00 -0500
committerNick Mathewson <nickm@torproject.org>2016-12-16 11:06:16 -0500
commit2ea5aa71823f385e36f20e643a20996dcb164464 (patch)
tree3a1d70c711bdd1fdf0917c2b43bf8c9fb8f3b2a4 /src/or/main.c
parente56bc1e5de05d9bc6876d91d364d33f0771eb322 (diff)
downloadtor-2ea5aa71823f385e36f20e643a20996dcb164464.tar.gz
tor-2ea5aa71823f385e36f20e643a20996dcb164464.zip
Expire circuits that have been WAITING_FOR_BETTER_GUARD too long
(This is required by 3.9 in prop271, but is better done as a separate function IMO)
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 16106612a9..96ff442c68 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1402,6 +1402,7 @@ run_scheduled_events(time_t now)
/* (If our circuit build timeout can ever become lower than a second (which
* it can't, currently), we should do this more often.) */
circuit_expire_building();
+ circuit_expire_waiting_for_better_guard();
/* 3b. Also look at pending streams and prune the ones that 'began'
* a long time ago but haven't gotten a 'connected' yet.