diff options
author | David Goulet <dgoulet@ev0ke.net> | 2015-04-27 16:21:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-04-30 12:35:21 -0400 |
commit | d33327ec22ac1ff2e25c337a12051efd2920cf3a (patch) | |
tree | 8dbdf6977d743f937658b146cb44d21d0d0915fe /src/or/rendclient.h | |
parent | 9a364026d314bfe76410318849e179dbd2e0b34d (diff) | |
download | tor-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/rendclient.h')
-rw-r--r-- | src/or/rendclient.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rendclient.h b/src/or/rendclient.h index d6fea678d0..5227b5cca6 100644 --- a/src/or/rendclient.h +++ b/src/or/rendclient.h @@ -41,7 +41,7 @@ int rend_client_receive_rendezvous(origin_circuit_t *circ, size_t request_len); void rend_client_desc_trynow(const char *query); -void rend_client_note_connection_attempt_ended(const char *onion_address); +void rend_client_note_connection_attempt_ended(const rend_data_t *rend_data); extend_info_t *rend_client_get_random_intro(const rend_data_t *rend_query); int rend_client_any_intro_points_usable(const rend_cache_entry_t *entry); |