diff options
author | David Goulet <dgoulet@torproject.org> | 2021-02-05 10:39:55 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-02-19 13:19:08 -0500 |
commit | 2444629c86e3368ebd6c9ee1b54aa5a5959fa398 (patch) | |
tree | bc28430214d97fcfe12c98534c3d653686b30478 /src/feature/dirclient | |
parent | 67938e019844d8143d683321faf45d7623a3a9ae (diff) | |
download | tor-2444629c86e3368ebd6c9ee1b54aa5a5959fa398.tar.gz tor-2444629c86e3368ebd6c9ee1b54aa5a5959fa398.zip |
hs-v2: Remove client support
Related to #40266
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/dirclient')
-rw-r--r-- | src/feature/dirclient/dirclient.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/feature/dirclient/dirclient.c b/src/feature/dirclient/dirclient.c index a5dd856729..dd7af9dbfc 100644 --- a/src/feature/dirclient/dirclient.c +++ b/src/feature/dirclient/dirclient.c @@ -48,7 +48,6 @@ #include "feature/relay/routermode.h" #include "feature/relay/selftest.h" #include "feature/rend/rendcache.h" -#include "feature/rend/rendclient.h" #include "feature/rend/rendcommon.h" #include "feature/rend/rendservice.h" #include "feature/stats/predict_ports.h" @@ -2861,7 +2860,6 @@ handle_response_fetch_renddesc_v2(dir_connection_t *conn, conn->identity_digest, body); conn->base_.purpose = DIR_PURPOSE_HAS_FETCHED_RENDDESC_V2; - rend_client_desc_trynow(service_id); memwipe(service_id, 0, sizeof(service_id)); } break; @@ -3024,17 +3022,6 @@ connection_dir_client_refetch_hsdesc_if_needed(dir_connection_t *dir_conn) { connection_t *conn = TO_CONN(dir_conn); - /* If we were trying to fetch a v2 rend desc and did not succeed, retry as - * needed. (If a fetch is successful, the connection state is changed to - * DIR_PURPOSE_HAS_FETCHED_RENDDESC_V2 or DIR_PURPOSE_HAS_FETCHED_HSDESC to - * mark that refetching is unnecessary.) */ - if (conn->purpose == DIR_PURPOSE_FETCH_RENDDESC_V2 && - dir_conn->rend_data && - rend_valid_v2_service_id( - rend_data_get_address(dir_conn->rend_data))) { - rend_client_refetch_v2_renddesc(dir_conn->rend_data); - } - /* Check for v3 rend desc fetch */ if (conn->purpose == DIR_PURPOSE_FETCH_HSDESC && dir_conn->hs_ident && |