summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-01-06 13:52:54 -0500
committerNick Mathewson <nickm@torproject.org>2015-01-06 13:52:54 -0500
commitcf2ac8e2556849fdcace74adf36da876f86af30a (patch)
tree84a0f7f21309374f148760d0c416c5ae49803575 /src/or/dirserv.c
parent6f7a8f84d906a0a9d5fd88e49d352bb748a36b09 (diff)
parent734ba5cb0a0b6cc5376f8889305835224d814252 (diff)
downloadtor-cf2ac8e2556849fdcace74adf36da876f86af30a.tar.gz
tor-cf2ac8e2556849fdcace74adf36da876f86af30a.zip
Merge remote-tracking branch 'public/feature11791'
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index fbb2156515..aa56861210 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -3196,7 +3196,7 @@ connection_dirserv_add_networkstatus_bytes_to_outbuf(dir_connection_t *conn)
if (uncompressing && ! conn->zlib_state &&
conn->fingerprint_stack &&
smartlist_len(conn->fingerprint_stack)) {
- conn->zlib_state = tor_zlib_new(0, ZLIB_METHOD);
+ conn->zlib_state = tor_zlib_new(0, ZLIB_METHOD, HIGH_COMPRESSION);
}
}
if (r) return r;