summaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2017-04-18 03:14:36 +0200
committerNick Mathewson <nickm@torproject.org>2017-04-25 08:06:01 -0400
commit9d5bc1a9354637aa59025f61e577c6d42f8c53ba (patch)
tree509406ce51588c6a7e38586c593313e5303327b4 /src/or/relay.c
parente6c6606a17841eaf263967254990db5e9443942d (diff)
downloadtor-9d5bc1a9354637aa59025f61e577c6d42f8c53ba.tar.gz
tor-9d5bc1a9354637aa59025f61e577c6d42f8c53ba.zip
Move zlib compression code into its own module.
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
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 5139036327..8a98c50372 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -54,6 +54,7 @@
#include "circuitbuild.h"
#include "circuitlist.h"
#include "circuituse.h"
+#include "compress_zlib.h"
#include "config.h"
#include "connection.h"
#include "connection_edge.h"