diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-01-06 23:56:40 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-01-06 23:56:40 -0800 |
commit | eb4209e93263c1ff939d394ced134cd82d3ef1db (patch) | |
tree | 1f54a0cdb441c2c6f774ae8fd927457a487873ff /libxrdp/xrdp_sec.c | |
parent | b6fb3009542576c88973a99d5fb66bf91aa62bb0 (diff) | |
download | xrdp-proprietary-eb4209e93263c1ff939d394ced134cd82d3ef1db.tar.gz xrdp-proprietary-eb4209e93263c1ff939d394ced134cd82d3ef1db.zip |
libxrdp: added ini settings for bulk compressor
Diffstat (limited to 'libxrdp/xrdp_sec.c')
-rw-r--r-- | libxrdp/xrdp_sec.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libxrdp/xrdp_sec.c b/libxrdp/xrdp_sec.c index 66b66264..17348274 100644 --- a/libxrdp/xrdp_sec.c +++ b/libxrdp/xrdp_sec.c @@ -385,8 +385,16 @@ xrdp_sec_process_logon_info(struct xrdp_sec *self, struct stream *s) if (flags & RDP_COMPRESSION) { - self->rdp_layer->client_info.rdp_compression = 1; DEBUG(("flag RDP_COMPRESSION found")); + if (self->rdp_layer->client_info.use_bulk_comp) + { + DEBUG(("flag RDP_COMPRESSION set")); + self->rdp_layer->client_info.rdp_compression = 1; + } + else + { + DEBUG(("flag RDP_COMPRESSION not set")); + } } in_uint16_le(s, len_domain); |