diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-01-28 21:38:27 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-01-28 21:38:27 +0800 |
commit | a7a79d569a41b282da63c159fc8032b4472a2a73 (patch) | |
tree | 8eb7d57e766727bd1c8c720f2093f41adefa880d /runopts.h | |
parent | 6165f53fcd6be9bb06fc3cd29e8640bb14d95111 (diff) |
Disable non-delayed zlib for server
Diffstat (limited to 'runopts.h')
-rw-r--r-- | runopts.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -44,7 +44,11 @@ typedef struct runopts { /* TODO: add a commandline flag. Currently this is on by default if compression * is compiled in, but disabled for a client's non-final multihop stages. (The * intermediate stages are compressed streams, so are uncompressible. */ - int enable_compress; + enum { + DROPBEAR_COMPRESS_DELAYED, /* Server only */ + DROPBEAR_COMPRESS_ON, + DROPBEAR_COMPRESS_OFF, + } compress_mode; #endif #ifdef ENABLE_USER_ALGO_LIST |