summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.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/connection_edge.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/connection_edge.c')
-rw-r--r--src/or/connection_edge.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 4e1c7caec5..cc6e3d7c58 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -102,8 +102,7 @@ connection_mark_unattached_ap_,(entry_connection_t *conn, int endreason,
* but we should fix it someday anyway. */
if ((edge_conn->on_circuit != NULL || edge_conn->edge_has_sent_end) &&
connection_edge_is_rendezvous_stream(edge_conn)) {
- rend_client_note_connection_attempt_ended(
- edge_conn->rend_data->onion_address);
+ rend_client_note_connection_attempt_ended(edge_conn->rend_data);
}
if (base_conn->marked_for_close) {