aboutsummaryrefslogtreecommitdiff
path: root/src/or/hs_service.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-08-30 08:34:02 -0400
committerNick Mathewson <nickm@torproject.org>2017-09-04 12:11:31 -0400
commit8c41196254ec115668d31da3cb23fe3c3550b623 (patch)
tree26205dc328874eaa8e5313b6aa9291b86c5acc45 /src/or/hs_service.h
parent209bfe715cc8c1c59b2578c406749a0d4a5bd8cb (diff)
downloadtor-8c41196254ec115668d31da3cb23fe3c3550b623.tar.gz
tor-8c41196254ec115668d31da3cb23fe3c3550b623.zip
hs: Remove dead code and uneeded feature
When merging #20657, somehow hs_service_dir_info_changed() became unused leading to not use the re-upload to HSDir when we were missing information feature. Turns out that it is not possible to pick an HSDir with a missing descriptor because in order to compute the HSDir index, the descriptor is mandatory to have so we can know its position on the hashring. This commit removes that dead feature and fix the hs_service_dir_info_changed() not being used. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_service.h')
-rw-r--r--src/or/hs_service.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/or/hs_service.h b/src/or/hs_service.h
index 57717fc927..cd4874c8ee 100644
--- a/src/or/hs_service.h
+++ b/src/or/hs_service.h
@@ -123,13 +123,6 @@ typedef struct hs_service_descriptor_t {
* couldn't pick any nodes. */
unsigned int missing_intro_points : 1;
- /* List of identity digests for hidden service directories to which we
- * couldn't upload this descriptor because we didn't have its router
- * descriptor at the time. If this list is non-empty, only the relays in this
- * list are re-tried to upload this descriptor when our directory information
- * have been updated. */
- smartlist_t *hsdir_missing_info;
-
/** List of the responsible HSDirs (their b64ed identity digest) last time we
* uploaded this descriptor. If the set of responsible HSDirs is different
* from this list, this means we received new dirinfo and we need to
@@ -266,7 +259,6 @@ void hs_service_lists_fnames_for_sandbox(smartlist_t *file_list,
smartlist_t *dir_list);
int hs_service_set_conn_addr_port(const origin_circuit_t *circ,
edge_connection_t *conn);
-void hs_hsdir_set_changed_consider_reupload(void);
void hs_service_dir_info_changed(void);
void hs_service_run_scheduled_events(time_t now);