Commits (4)
-
Alexander Færøy authored
This patch refactors the `torgzip` module to allow us to extend a common compression API to support multiple compression backends. Additionally we move the gzip/zlib code into its own module under the name `compress_zlib`. See https://bugs.torproject.org/21664
bcd71770 -
Alexander Færøy authored
See https://bugs.torproject.org/21663
576df1d8 -
Alexander Færøy authored
See https://bugs.torproject.org/21663
f0395da3 -
Alexander Færøy authored
This patch changes the way `tor_compress_new()`, `tor_compress_process()`, and `tor_compress_free()` handles different compression methods. This should give us compiler warnings in case an additional compression method is added, but the developer forgets to add handlers in the three aforementioned functions. See https://bugs.torproject.org/21663
560202e1
src/common/compress.c
0 → 100644
src/common/compress_zlib.h
0 → 100644