diff options
author | David Goulet <dgoulet@ev0ke.net> | 2015-04-30 12:28:11 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-05-14 10:46:38 -0400 |
commit | c1ffeadff4db375886d40bb5928ddd4fe761ba9f (patch) | |
tree | a1911a7d1b60a6908f506f96604f51c90fb8c57b /src/or/or.h | |
parent | 95a9920461dd3322280a13c8d99e363c91028ab2 (diff) | |
download | tor-c1ffeadff4db375886d40bb5928ddd4fe761ba9f.tar.gz tor-c1ffeadff4db375886d40bb5928ddd4fe761ba9f.zip |
Add missing descriptor ID to HS_DESC control event
For FAILED and RECEIVED action of the HS_DESC event, we now sends back the
descriptor ID at the end like specified in the control-spec section 4.1.25.
Fixes #15881
Signed-off-by: David Goulet <dgoulet@ev0ke.net>
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h index d9be1be37d..5bb080fdc5 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -814,6 +814,10 @@ typedef struct rend_data_t { /** Rendezvous cookie used by both, client and service. */ char rend_cookie[REND_COOKIE_LEN]; + + /** List of HSDir fingerprints on which this request has been sent to. + * This contains binary identity digest of the directory. */ + smartlist_t *hsdirs_fp; } rend_data_t; /** Time interval for tracking replays of DH public keys received in |