summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index 82be7f0d84..37d462d981 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -252,6 +252,8 @@ rend_client_introduction_acked(circuit_t *circ,
void
rend_client_refetch_renddesc(const char *query)
{
+ if (!get_options()->FetchHidServDescriptors)
+ return;
if (connection_get_by_type_state_rendquery(CONN_TYPE_DIR, 0, query)) {
log_info(LD_REND,"Would fetch a new renddesc here (for %s), but one is "
"already in progress.", safe_str(query));