Merge pull request #3686 from lcniel/add_port_discriminator

Allow sessions to be distinguished based on XRDP instance_name configuration by using new policy
This commit is contained in:
matt335672
2026-01-26 09:47:02 +00:00
committed by GitHub
28 changed files with 162 additions and 51 deletions
+6
View File
@@ -43,6 +43,12 @@
*/
#define MAX_PEER_ADDRSTRLEN 46
/**
* Max length of buffer containing an instance name used to
* tag sessions for discrimination on reconnection.
**/
#define MAX_XRDP_INSTANCE_NAMELEN 80
/**
* Size of buffer including terminator for a socket description, as
* returned by g_sck_get_peer_description()