diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-05-22 14:45:12 +0000 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2017-05-22 14:45:12 +0000 |
commit | 5a0eab68e1ca2c1f76ac3834b1e38938a5cb4546 (patch) | |
tree | 274c18f6671c1edc2160980c5309be64b6ff4366 /src/or/directory.h | |
parent | 2b26ac139086c4ce3067b6d27644cb37808a9eb0 (diff) | |
download | tor-5a0eab68e1ca2c1f76ac3834b1e38938a5cb4546.tar.gz tor-5a0eab68e1ca2c1f76ac3834b1e38938a5cb4546.zip |
Ensure that only GZip and Zlib compression is handled for anonymous connections.
See: https://bugs.torproject.org/22305
Diffstat (limited to 'src/or/directory.h')
-rw-r--r-- | src/or/directory.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/directory.h b/src/or/directory.h index a015c7045d..6dc773439f 100644 --- a/src/or/directory.h +++ b/src/or/directory.h @@ -161,6 +161,7 @@ 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); +STATIC int allowed_anonymous_connection_compression_method(compress_method_t); #endif |