Mercurial > dropbear
diff options.h @ 606:e4991659fc10
merge of '8a608f0ed5e4b491dba4bf330e560636ec7376fd'
and 'b31879a384d3bf8cbcbe2ed731d7d79d49799b1d'
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 28 Feb 2011 13:51:34 +0000 |
parents | 810dfc792ca9 53c21d4ec98a |
children | d40f3cc47aed |
line wrap: on
line diff
--- a/options.h Mon Feb 28 13:39:18 2011 +0000 +++ b/options.h Mon Feb 28 13:51:34 2011 +0000 @@ -133,19 +133,15 @@ /* #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