summaryrefslogtreecommitdiff
path: root/src/common/compress.h
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2017-04-24 14:20:16 +0200
committerNick Mathewson <nickm@torproject.org>2017-04-25 08:11:32 -0400
commitcf912259ba491e51f6f211e186ff67605ff269c8 (patch)
tree95878575ea7820970da112a3574708413bc11d6e /src/common/compress.h
parent69a41e8bc6e148c471ae8ee860e1a43548729db0 (diff)
downloadtor-cf912259ba491e51f6f211e186ff67605ff269c8.tar.gz
tor-cf912259ba491e51f6f211e186ff67605ff269c8.zip
Remove `tor_compress_memory_level()`.
This patch splits up `tor_compress_memory_level()` into static functions in the individual compression backends, which allows us to tune the values per compression backend rather than globally. See: https://bugs.torproject.org/21662
Diffstat (limited to 'src/common/compress.h')
-rw-r--r--src/common/compress.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/compress.h b/src/common/compress.h
index 182530fc11..1e6e9fd329 100644
--- a/src/common/compress.h
+++ b/src/common/compress.h
@@ -47,9 +47,6 @@ tor_uncompress(char **out, size_t *out_len,
compress_method_t detect_compression_method(const char *in, size_t in_len);
int
-tor_compress_memory_level(compression_level_t level);
-
-int
tor_compress_is_compression_bomb(size_t size_in, size_t size_out);
int