diff options
author | David Goulet <dgoulet@torproject.org> | 2017-07-27 15:51:32 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-24 13:03:28 -0400 |
commit | 2671399e67e19c125fbfb6f4b9f1ba71c4e52031 (patch) | |
tree | 465c425d43306cd4f76e6e9a57eab5750edb90f0 /src/or/main.c | |
parent | 88b843608accd10af6d12c53531950566ded5ef9 (diff) | |
download | tor-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.c | 1 |
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; } |