comparison runopts.h @ 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 f92eb625c48d
children deed0571cacc
comparison
equal deleted inserted replaced
995:6fb4c010c448 996:47643024fc90
42 42
43 #ifndef DISABLE_ZLIB 43 #ifndef DISABLE_ZLIB
44 /* TODO: add a commandline flag. Currently this is on by default if compression 44 /* TODO: add a commandline flag. Currently this is on by default if compression
45 * is compiled in, but disabled for a client's non-final multihop stages. (The 45 * is compiled in, but disabled for a client's non-final multihop stages. (The
46 * intermediate stages are compressed streams, so are uncompressible. */ 46 * intermediate stages are compressed streams, so are uncompressible. */
47 int enable_compress; 47 enum {
48 DROPBEAR_COMPRESS_DELAYED, /* Server only */
49 DROPBEAR_COMPRESS_ON,
50 DROPBEAR_COMPRESS_OFF,
51 } compress_mode;
48 #endif 52 #endif
49 53
50 #ifdef ENABLE_USER_ALGO_LIST 54 #ifdef ENABLE_USER_ALGO_LIST
51 char *cipher_list; 55 char *cipher_list;
52 char *mac_list; 56 char *mac_list;