diff options
author | David Goulet <dgoulet@torproject.org> | 2017-09-06 11:12:28 -0400 |
---|---|---|
committer | George Kadianakis <desnacked@riseup.net> | 2017-09-08 19:07:00 +0300 |
commit | 4d38731e93e927374044fde2730149cb07ac0766 (patch) | |
tree | 2b29a13ddf60b76774a0f0b176e6fc1066747f71 /src/or/hs_service.h | |
parent | cd07af60c9e73e16034870ee1d03f729c1f2dd98 (diff) | |
download | tor-4d38731e93e927374044fde2730149cb07ac0766.tar.gz tor-4d38731e93e927374044fde2730149cb07ac0766.zip |
prop224: Make client and service pick same HSDir
With the latest change on how we use the HSDir index, the client and service
need to pick their responsible HSDir differently that is depending on if they
are before or after a new time period.
The overlap mode is active function has been renamed for this and test added.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_service.h')
-rw-r--r-- | src/or/hs_service.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/hs_service.h b/src/or/hs_service.h index 7a392d7420..248df27e10 100644 --- a/src/or/hs_service.h +++ b/src/or/hs_service.h @@ -337,8 +337,7 @@ STATIC int write_address_to_file(const hs_service_t *service, const char *fname_); STATIC void upload_descriptor_to_all(const hs_service_t *service, - hs_service_descriptor_t *desc, - int for_next_period); + hs_service_descriptor_t *desc); STATIC void service_desc_schedule_upload(hs_service_descriptor_t *desc, time_t now, |