FreeRDP/include/freerdp
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 Set fragment cache size to fixed 256 elements 2022-10-07 11:01:25 +02:00
channels Remove duplicated definitions for file constants 2022-09-21 09:03:45 +02:00
client [channels,rdpsnd] Add PlayEx callback 2022-12-14 10:17:30 +01:00
codec [codec] add flag for freerdp_image_copy 2023-01-10 11:49:02 +01:00
crypto [core,crypto] removed rsa functions from public API 2023-02-03 11:09:59 +01:00
emulate/scard Added smartcard emulation layer 2022-01-11 12:34:43 +01:00
gdi [gfx] Added new UpdateWindowFromSurface callback 2022-11-11 06:42:45 +01:00
locale Updated keyboard list API 2022-10-19 20:31:53 +02:00
server [cleanup] fix compiler warnings 2023-01-26 09:30:17 +01:00
utils [utils] added rdp_cluster_info_flags_to_string 2023-01-23 09:17:01 +01:00
addin.h Exposed freerdp_get_current_addin_provider 2022-06-23 07:45:55 +02:00
altsec.h Unify struct definitions (#7633) 2022-02-14 14:59:22 +01:00
api.h Test uri fix (#8232) 2022-09-26 11:22:02 +02:00
assistance.h Reformatted to new style 2019-11-07 10:53:54 +01:00
autodetect.h [autodetect] expose AUTODETECT_STATE 2023-02-09 12:34:27 +01:00
client.h added SDL2 client 2023-01-10 17:38:00 +01:00
codecs.h Unify struct definitions (#7633) 2022-02-14 14:59:22 +01:00
constants.h added SDL2 client 2023-01-10 17:38:00 +01:00
display.h Reformatted to new style 2019-11-07 10:53:54 +01:00
dvc.h [channel,dvc] unify and log DVC callbacks 2022-12-15 14:57:29 +01:00
error.h Set last error on activation timeout (#7502) 2021-12-17 17:28:41 +01:00
event.h Cleaned up PubSub 2022-01-19 09:24:57 +01:00
extension.h Unify struct definitions (#7633) 2022-02-14 14:59:22 +01:00
freerdp.h proxy: Fix NLA to TLS fallback connection 2023-02-09 12:49:47 +01:00
graphics.h Implement RDP persistent bitmap cache 2022-06-08 23:37:06 +02:00
heartbeat.h libfreerdp: core: add ServerHeartbeat callback 2020-07-07 09:57:53 +02:00
input.h [core,input] Fixed API for KBD_FLAGS_DOWN use 2022-12-13 14:37:05 +01:00
license.h Refactored licensing module 2022-11-03 17:02:47 +01:00
listener.h reformatted 2022-06-23 08:48:39 +02:00
log.h Added headers for converting logging in libfreerdp, channels, clients and servers. 2014-09-09 16:33:05 +02:00
message.h Added RDP 10.7 large pointer support 2019-12-19 09:53:40 +01:00
metrics.h Reformatted to new style 2019-11-07 10:53:54 +01:00
peer.h [core,server] use redirection functions 2023-01-17 12:25:31 +01:00
pointer.h Unify struct definitions (#7633) 2022-02-14 14:59:22 +01:00
primary.h Unify struct definitions (#7633) 2022-02-14 14:59:22 +01:00
primitives.h Refactored H264 encoding/decoding 2021-03-01 11:52:07 +01:00
rail.h [cleanup] fix compiler warnings 2023-01-26 09:30:17 +01:00
redirection.h [core] restructure redirection 2023-01-17 12:25:31 +01:00
scancode.h Fixed all Wdocumentation warnings 2022-12-12 14:24:55 +01:00
secondary.h Unify struct definitions (#7633) 2022-02-14 14:59:22 +01:00
session.h Reformatted to new style 2019-11-07 10:53:54 +01:00
settings.h [core,settings] remove unused setting 2023-02-03 11:24:32 +01:00
streamdump.h Improved streamdump file format 2022-10-07 10:38:03 +02:00
svc.h Unify struct definitions (#7633) 2022-02-14 14:59:22 +01:00
transport_io.h [core,transport] event handle for transportIO 2022-11-16 15:32:32 +01:00
types.h autodetect: prepare for multi-transport 2022-11-16 11:50:46 +01:00
update.h Unify struct definitions (#7633) 2022-02-14 14:59:22 +01:00
window.h Added missing includes 2022-03-03 11:26:48 +01:00