Mercurial > dropbear
comparison svr-runopts.c @ 996:47643024fc90
Disable non-delayed zlib for server
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 28 Jan 2015 21:38:27 +0800 |
parents | 964d41e3aeb2 |
children | 67d8a904f5a9 |
comparison
equal
deleted
inserted
replaced
995:6fb4c010c448 | 996:47643024fc90 |
---|---|
138 svr_opts.nolocaltcp = 0; | 138 svr_opts.nolocaltcp = 0; |
139 #endif | 139 #endif |
140 #ifdef ENABLE_SVR_REMOTETCPFWD | 140 #ifdef ENABLE_SVR_REMOTETCPFWD |
141 svr_opts.noremotetcp = 0; | 141 svr_opts.noremotetcp = 0; |
142 #endif | 142 #endif |
143 | |
143 #ifndef DISABLE_ZLIB | 144 #ifndef DISABLE_ZLIB |
144 opts.enable_compress = 1; | 145 #if DROPBEAR_SERVER_DELAY_ZLIB |
145 #endif | 146 opts.compress_mode = DROPBEAR_COMPRESS_DELAYED; |
147 #else | |
148 opts.compress_mode = DROPBEAR_COMPRESS_ON; | |
149 #endif | |
150 #endif | |
151 | |
146 /* not yet | 152 /* not yet |
147 opts.ipv4 = 1; | 153 opts.ipv4 = 1; |
148 opts.ipv6 = 1; | 154 opts.ipv6 = 1; |
149 */ | 155 */ |
150 #ifdef DO_MOTD | 156 #ifdef DO_MOTD |