libfreerdp-core: enable RDP6 bulk compression by default

This commit is contained in:
Marc-André Moreau 2014-03-17 10:26:22 -04:00
parent 59ff4db1c7
commit 5a0f36b0ce

View File

@ -253,7 +253,11 @@ rdpSettings* freerdp_settings_new(DWORD flags)
settings->EncryptionLevel = ENCRYPTION_LEVEL_NONE;
settings->CompressionEnabled = TRUE;
settings->CompressionLevel = PACKET_COMPR_TYPE_64K;
if (settings->ServerMode)
settings->CompressionLevel = PACKET_COMPR_TYPE_64K;
else
settings->CompressionLevel = PACKET_COMPR_TYPE_RDP6;
settings->Authentication = TRUE;
settings->AuthenticationOnly = FALSE;