summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@ev0ke.net>2015-04-27 16:21:47 -0400
committerNick Mathewson <nickm@torproject.org>2015-04-30 12:35:21 -0400
commitd33327ec22ac1ff2e25c337a12051efd2920cf3a (patch)
tree8dbdf6977d743f937658b146cb44d21d0d0915fe /src/or/circuituse.c
parent9a364026d314bfe76410318849e179dbd2e0b34d (diff)
downloadtor-d33327ec22ac1ff2e25c337a12051efd2920cf3a.tar.gz
tor-d33327ec22ac1ff2e25c337a12051efd2920cf3a.zip
Use descriptor ID when purging last hid fetch cache
Stop using an onion address since it's not indexed with that anymore in the last hid serv request cache. Instead use a base32 encoded descriptor ID contained in the rend_data_t object. Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index d0d31ad9cf..b54a4d2a7f 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -2149,7 +2149,7 @@ link_apconn_to_circ(entry_connection_t *apconn, origin_circuit_t *circ,
* that an attempt to connect to a hidden service just
* succeeded. Tell rendclient.c. */
rend_client_note_connection_attempt_ended(
- ENTRY_TO_EDGE_CONN(apconn)->rend_data->onion_address);
+ ENTRY_TO_EDGE_CONN(apconn)->rend_data);
}
if (cpath) { /* we were given one; use it */