diff options
author | George Kadianakis <desnacked@riseup.net> | 2017-06-01 14:25:46 +0300 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-08-24 13:03:28 -0400 |
commit | f93b77a18c5d1e77cb80fec0827d82d3672f9673 (patch) | |
tree | 55b10f8272098643db369ea23b8c3c0b1e5e66ce /src/or/directory.h | |
parent | ebacf4dd6e709f45d2e23da62312848161e78091 (diff) | |
download | tor-f93b77a18c5d1e77cb80fec0827d82d3672f9673.tar.gz tor-f93b77a18c5d1e77cb80fec0827d82d3672f9673.zip |
prop224: Add client code to handle fetched HS descriptors.
This code handles received HS descriptors by storing them in the
client-side HS cache.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/directory.h')
-rw-r--r-- | src/or/directory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/directory.h b/src/or/directory.h index d3f8a45a82..92d9b266df 100644 --- a/src/or/directory.h +++ b/src/or/directory.h @@ -176,6 +176,10 @@ STATIC char *accept_encoding_header(void); STATIC int allowed_anonymous_connection_compression_method(compress_method_t); STATIC void warn_disallowed_anonymous_compression_method(compress_method_t); +typedef struct response_handler_args_t response_handler_args_t; +STATIC int handle_response_fetch_hsdesc_v3(dir_connection_t *conn, + const response_handler_args_t *args); + #endif #ifdef TOR_UNIT_TESTS |