diff options
author | Qingping Hou <dave2008713@gmail.com> | 2013-10-09 11:13:06 -0400 |
---|---|---|
committer | Qingping Hou <dave2008713@gmail.com> | 2014-01-29 22:23:57 -0500 |
commit | 29c18f5b71d73a03b9895fbbf97a3a5a16099a50 (patch) | |
tree | 3e59a10e4a958de118075a05aebd298db5f40993 /src/or/rendclient.c | |
parent | 3b38fd87e812a104f835af59abeda012928e21b7 (diff) | |
download | tor-29c18f5b71d73a03b9895fbbf97a3a5a16099a50.tar.gz tor-29c18f5b71d73a03b9895fbbf97a3a5a16099a50.zip |
add hidden service descriptor async control event
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r-- | src/or/rendclient.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c index f00303f189..de28bd1fc5 100644 --- a/src/or/rendclient.c +++ b/src/or/rendclient.c @@ -26,6 +26,7 @@ #include "router.h" #include "routerlist.h" #include "routerset.h" +#include "control.h" static extend_info_t *rend_client_get_random_intro_impl( const rend_cache_entry_t *rend_query, @@ -694,6 +695,9 @@ directory_get_from_hs_dir(const char *desc_id, const rend_data_t *rend_query) (rend_query->auth_type == REND_NO_AUTH ? "[none]" : escaped_safe_str_client(descriptor_cookie_base64)), routerstatus_describe(hs_dir)); + control_event_hs_descriptor_requested(rend_query, + routerstatus_describe(hs_dir), + desc_id_base32); return 1; } |