summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-07-27 15:51:32 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-08-24 13:03:28 -0400
commit2671399e67e19c125fbfb6f4b9f1ba71c4e52031 (patch)
tree465c425d43306cd4f76e6e9a57eab5750edb90f0 /src/or/main.c
parent88b843608accd10af6d12c53531950566ded5ef9 (diff)
downloadtor-2671399e67e19c125fbfb6f4b9f1ba71c4e52031.tar.gz
tor-2671399e67e19c125fbfb6f4b9f1ba71c4e52031.zip
prop224: Add a client intro point state cache
This cache keeps track of the state of intro points which is needed when we have failures when using them. It is similar to the failure cache of the legacy system. At this commit, it is unused but initialized, cleanup and freed. Signed-off-by: David Goulet <dgoulet@torproject.org>
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 3db0b5e901..20fec50093 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -1847,6 +1847,7 @@ rend_cache_failure_clean_callback(time_t now, const or_options_t *options)
* clean it as soon as we can since we want to make sure the client waits
* as little as possible for reachability reasons. */
rend_cache_failure_clean(now);
+ hs_cache_client_intro_state_clean(now);
return 30;
}