diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-05-15 13:49:29 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-05-15 13:49:29 -0400 |
commit | 3b8888c544f3186f12295bc436cbbec1a99cbf02 (patch) | |
tree | 278ecb8103883a98151ec7fe86ad2f96fadf7c32 /src/or | |
parent | 716d48581de72e5773c15802df5ca66b5f7365e5 (diff) | |
download | tor-3b8888c544f3186f12295bc436cbbec1a99cbf02.tar.gz tor-3b8888c544f3186f12295bc436cbbec1a99cbf02.zip |
Initialize the HS cache at startup
Failure to do this caused an assertion failure with #22246 . This
assertion failure can be triggered remotely, so we're tracking it as
medium-severity TROVE-2017-002.
Diffstat (limited to 'src/or')
-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 5549f97998..bc7b3db2b9 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2926,6 +2926,7 @@ tor_init(int argc, char *argv[]) rep_hist_init(); /* Initialize the service cache. */ rend_cache_init(); + hs_cache_init(); addressmap_init(); /* Init the client dns cache. Do it always, since it's * cheap. */ |