diff options
author | Matt Johnston <matt@ucc.asn.au> | 2011-02-28 13:51:34 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2011-02-28 13:51:34 +0000 |
commit | 0993e44b4f14478d22b9c5877f672443c9d24898 (patch) | |
tree | bb532069dd7a4814756e46eb7b31388290641006 /options.h | |
parent | 53fc7eaf03d039dee4da8491856a77f31beb8854 (diff) | |
parent | d634b502cff62bea8c1f6665f12b860af5542bb2 (diff) |
merge of '8a608f0ed5e4b491dba4bf330e560636ec7376fd'
and 'b31879a384d3bf8cbcbe2ed731d7d79d49799b1d'
--HG--
extra : convert_revision : dfa0557e6070859d23ff096789f339e51a870177
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 14 |
1 files changed, 5 insertions, 9 deletions
@@ -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 |