diff options
author | Donncha O'Cearbhaill <donncha@donncha.is> | 2015-07-24 15:36:31 +0200 |
---|---|---|
committer | Donncha O'Cearbhaill <donncha@donncha.is> | 2015-08-25 17:30:11 +0200 |
commit | 1d205163e8584a5e59237b69540b699fde87e7ce (patch) | |
tree | ff1f06588bdbc24a9a156c387c5077004d20cea1 /src/or/rendservice.c | |
parent | e0b82e5968af50e649963f6833ac7fd6e70a7e42 (diff) | |
download | tor-1d205163e8584a5e59237b69540b699fde87e7ce.tar.gz tor-1d205163e8584a5e59237b69540b699fde87e7ce.zip |
Generate service descriptors when PublishHidServDescriptors = 0
Removes a check to PublishHidServDescriptors in
rend_consider_services_upload(). This allows descriptors to be
generated and stored in the local cache when PublishHidServDescriptor = 0.
Keep the PublishHidServDescriptors option check in
rend_consider_descriptor_republication(). We will never need to republish
a descriptor if we are not publishing descriptors to the HSDirs.
Diffstat (limited to 'src/or/rendservice.c')
-rw-r--r-- | src/or/rendservice.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/or/rendservice.c b/src/or/rendservice.c index 75d859d2ee..4f5ed07ccb 100644 --- a/src/or/rendservice.c +++ b/src/or/rendservice.c @@ -3652,9 +3652,6 @@ rend_consider_services_upload(time_t now) MIN_REND_INITIAL_POST_DELAY_TESTING : MIN_REND_INITIAL_POST_DELAY); - if (!get_options()->PublishHidServDescriptors) - return; - for (i=0; i < smartlist_len(rend_service_list); ++i) { service = smartlist_get(rend_service_list, i); if (!service->next_upload_time) { /* never been uploaded yet */ |