summaryrefslogtreecommitdiffhomepage
path: root/options.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2011-02-28 13:51:34 +0000
committerMatt Johnston <matt@ucc.asn.au>2011-02-28 13:51:34 +0000
commit0993e44b4f14478d22b9c5877f672443c9d24898 (patch)
treebb532069dd7a4814756e46eb7b31388290641006 /options.h
parent53fc7eaf03d039dee4da8491856a77f31beb8854 (diff)
parentd634b502cff62bea8c1f6665f12b860af5542bb2 (diff)
merge of '8a608f0ed5e4b491dba4bf330e560636ec7376fd'
and 'b31879a384d3bf8cbcbe2ed731d7d79d49799b1d' --HG-- extra : convert_revision : dfa0557e6070859d23ff096789f339e51a870177
Diffstat (limited to 'options.h')
-rw-r--r--options.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/options.h b/options.h
index 8b49f30..d309ab4 100644
--- a/options.h
+++ b/options.h
@@ -133,19 +133,15 @@ much traffic. */
/* #define DSS_PROTOK */
/* Control the memory/performance/compression tradeoff for zlib.
- * Set windowBits=8, memLevel=1 for least memory usage, see your system's
+ * Set windowBits=8 for least memory usage, see your system's
* zlib.h for full details.
- * Default settings (windowBits=15, memLevel=8) will use
- * 256kB for compression + 32kB for decompression.
- * windowBits=8, memLevel=1 will use 10kB compression + 32kB decompression.
- * Note that windowBits is only set for deflate() - inflate() always uses the
- * default of 15 so as to interoperate with other clients. */
+ * Default settings (windowBits=15) will use 256kB for compression
+ * windowBits=8 will use 129kB for compression.
+ * Both modes will use ~35kB for decompression (using windowBits=15 for
+ * interoperability) */
#ifndef DROPBEAR_ZLIB_WINDOW_BITS
#define DROPBEAR_ZLIB_WINDOW_BITS 15
#endif
-#ifndef DROPBEAR_ZLIB_MEM_LEVEL
-#define DROPBEAR_ZLIB_MEM_LEVEL 8
-#endif
/* Whether to do reverse DNS lookups. */
#define DO_HOST_LOOKUP