diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-03-31 03:42:56 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-03-31 03:42:56 +0000 |
commit | b32440a02896d39f44664104a935f71741a8b4c4 (patch) | |
tree | 472883576d0028431d5afbe894732fdbf20495be /src/or/main.c | |
parent | 6ea61d5e0dd7a5990ab2a5a8198cef425718f81f (diff) | |
download | tor-b32440a02896d39f44664104a935f71741a8b4c4.tar tor-b32440a02896d39f44664104a935f71741a8b4c4.tar.gz |
Implement hidserv_XX functions; there is still an XXX in directory_handle_command
svn:r1404
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c index eab26058f..516e300b8 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -334,6 +334,7 @@ static void run_scheduled_events(time_t now) { /* We're a directory; dump any old descriptors. */ dirserv_remove_old_servers(); } + hidserv_cache_clean(); /* should this go elsewhere? */ time_to_fetch_directory = now + options.DirFetchPostPeriod; } @@ -547,6 +548,8 @@ static int do_main_loop(void) { /* Initialize the history structures. */ rep_hist_init(); + /* Intialize the service cache. */ + hidserv_cache_init(); /* load the private keys, if we're supposed to have them, and set up the * TLS context. */ |