aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.h
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2017-05-11 01:43:37 +0200
committerAlexander Færøy <ahf@torproject.org>2017-05-12 17:18:45 +0200
commita3a31fa120a62d51e136317df84a7202dfad214d (patch)
tree6c7987c2ff98c5cd65f182cf5a4af4c301f48db7 /src/or/directory.h
parent630563719728e039364b1e4cc2ada9017405a383 (diff)
downloadtor-a3a31fa120a62d51e136317df84a7202dfad214d.tar.gz
tor-a3a31fa120a62d51e136317df84a7202dfad214d.zip
Send "Accept-Encoding" to directory servers.
See: https://bugs.torproject.org/21667
Diffstat (limited to 'src/or/directory.h')
-rw-r--r--src/or/directory.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/directory.h b/src/or/directory.h
index 125333da37..a015c7045d 100644
--- a/src/or/directory.h
+++ b/src/or/directory.h
@@ -160,6 +160,7 @@ struct get_handler_args_t;
STATIC int handle_get_hs_descriptor_v3(dir_connection_t *conn,
const struct get_handler_args_t *args);
STATIC int directory_handle_command(dir_connection_t *conn);
+STATIC char *accept_encoding_header(void);
#endif