mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Refactor proxy (#7312)
* Added hidden transport dump and replay options * Added settings to enable transport dump and replay * Added check in freerdp_connect to skip authentication on dump replay * Fixed proxy issues * Proper shutdown handling * Uninitialized variables * Skip proxy-client channels, initialize from peer channels and config * Filter static channels like dynamic ones * Added proxy module filtering from config data (channels, input, ...) * Removed oboslete proxy decoding related files * Added defines for RDPECAM channel * Added proxy config options: * VideoRedirection * CameraRedirection * Fixed duplicate channel free
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include <freerdp/freerdp.h>
|
||||
#include <freerdp/constants.h>
|
||||
#include <freerdp/gdi/gdi.h>
|
||||
#include <freerdp/streamdump.h>
|
||||
#include <freerdp/utils/signal.h>
|
||||
|
||||
#include <freerdp/client/file.h>
|
||||
@@ -390,6 +391,9 @@ int main(int argc, char* argv[])
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (!stream_dump_register_handlers(context, CONNECTION_STATE_MCS_CONNECT))
|
||||
goto fail;
|
||||
|
||||
if (freerdp_client_start(context) != 0)
|
||||
goto fail;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user