From 10d9279b899919ea2e665e935a7bde6928609c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Wed, 28 Jul 2021 14:08:16 +0200 Subject: [PATCH] Added default value as TRUE to font smoothing for RDP --- server/src/uds/transports/RDP/rdp_base.py | 1 + tunnel-server/src/uds_tunnel/proxy.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/uds/transports/RDP/rdp_base.py b/server/src/uds/transports/RDP/rdp_base.py index 72a24643..e6fbdc1a 100644 --- a/server/src/uds/transports/RDP/rdp_base.py +++ b/server/src/uds/transports/RDP/rdp_base.py @@ -239,6 +239,7 @@ class BaseRDPTransport(transports.Transport): ) smooth = gui.CheckBoxField( label=_('Font Smoothing'), + defvalue=gui.TRUE, order=35, tooltip=_('If checked, fonts smoothing will be allowed'), tab=gui.DISPLAY_TAB, diff --git a/tunnel-server/src/uds_tunnel/proxy.py b/tunnel-server/src/uds_tunnel/proxy.py index face6585..bf0becd2 100644 --- a/tunnel-server/src/uds_tunnel/proxy.py +++ b/tunnel-server/src/uds_tunnel/proxy.py @@ -158,8 +158,8 @@ class Proxy: prettyDest = '' logger.info('CONNECT FROM %s', prettySource) + # Handshake correct in this point, start SSL connection try: - # Handshake correct, get the command (4 bytes) command: bytes = await source.recv(consts.COMMAND_LENGTH) if command == consts.COMMAND_TEST: logger.info('COMMAND: TEST')