summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_sec.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-01-06 23:56:40 -0800
committerJay Sorg <jay.sorg@gmail.com>2013-01-06 23:56:40 -0800
commiteb4209e93263c1ff939d394ced134cd82d3ef1db (patch)
tree1f54a0cdb441c2c6f774ae8fd927457a487873ff /libxrdp/xrdp_sec.c
parentb6fb3009542576c88973a99d5fb66bf91aa62bb0 (diff)
downloadxrdp-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.c10
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);