FreeRDP/libfreerdp
Martin Fleisz 4b9fb8fff9 proxy: Fix NLA to TLS fallback connection
Currently the proxy's TLS fallback if an NLA connection attempt failed
is broken. There are two issues with the current code that this PR
fixes:

- freerdp_reconnect is used which requires an already established
  connection to work correctly. This is not the case since the NLA
  connectin attempt failed. This resulted in a seemingly working TLS
  connection but i.e. channels where missing/not working.
- The fallback connection attempt just altered the NLA security setting
  in the instance's settings. However these settings have been already
  modified by the NLA connection attempt so we need to create a copy of
  the original connection settings before doing the first connect.

The PR also introduces freerdp_reset_context which restores the initial
connection settings for the given instance.
2023-02-09 12:49:47 +01:00
..
cache [core] fix persistent bitmap cache setting 2023-01-26 09:30:17 +01:00
codec [codec,progressive] fixed parsing of blocks 2023-01-27 09:36:02 +01:00
common [core,settings] remove unused setting 2023-02-03 11:24:32 +01:00
core proxy: Fix NLA to TLS fallback connection 2023-02-09 12:49:47 +01:00
crypto [core,security] refactor functions to check lengths 2023-02-03 11:09:59 +01:00
emu Decreased logging verbosity for smartcard emulation 2022-10-13 13:57:11 +02:00
gdi [logging] remove __FUNCTION__ from actual message 2023-01-25 16:26:39 +01:00
locale Fixed Wsign-compare warnings 2022-12-09 15:58:26 +01:00
primitives [cleanup] fix compiler warnings 2023-01-26 09:30:17 +01:00
utils [logging] remove __FUNCTION__ from actual message 2023-01-25 16:26:39 +01:00
CMakeLists.txt Fixed various compiler warnings 2022-12-09 15:58:26 +01:00
freerdp.pc.in Fixed freerdp pkg-config file 2022-03-03 11:26:48 +01:00
FreeRDPConfig.cmake.in