aboutsummaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorKarsten Loesing <karsten.loesing@gmx.net>2009-06-13 12:21:58 +0200
committerKarsten Loesing <karsten.loesing@gmx.net>2009-06-13 12:21:58 +0200
commitca8708a9ce3f8e6a4b3aadf2e35edfd2b49c1a2d (patch)
tree2871249363fc9efba92d4f7f8fc4c238004a8003 /src/or/rendclient.c
parent6a32beb8771d94dd35460ce391eeb4455f2ada3f (diff)
downloadtor-ca8708a9ce3f8e6a4b3aadf2e35edfd2b49c1a2d.tar.gz
tor-ca8708a9ce3f8e6a4b3aadf2e35edfd2b49c1a2d.zip
Fix more of bug 997.
Fix refetching of hidden service descriptors when all introduction points have turned out to not work.
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index d9c0a9e713..00b77d8370 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -447,10 +447,9 @@ directory_get_from_hs_dir(const char *desc_id, const rend_data_t *rend_query)
return 1;
}
-/** Start a connection to a hidden service directory to fetch a v2
- * rendezvous service descriptor for the base32-encoded service ID
- * <b>query</b>.
- */
+/** Unless we already have a descriptor for <b>rend_query</b> with at least
+ * one (possibly) working introduction point in it, start a connection to a
+ * hidden service directory to fetch a v2 rendezvous service descriptor. */
void
rend_client_refetch_v2_renddesc(const rend_data_t *rend_query)
{