GUACAMOLE-1350: Add code to join leave_handler when connecting in other protocols.
This commit is contained in:
parent
26d87aa5d3
commit
a91c4b3869
@ -101,6 +101,7 @@ int guac_client_init(guac_client* client) {
|
||||
/* Set handlers */
|
||||
client->join_handler = guac_kubernetes_user_join_handler;
|
||||
client->free_handler = guac_kubernetes_client_free_handler;
|
||||
client->leave_handler = guac_kubernetes_user_leave_handler;
|
||||
|
||||
/* Register handlers for argument values that may be sent after the handshake */
|
||||
guac_argv_register(GUAC_KUBERNETES_ARGV_COLOR_SCHEME, guac_kubernetes_argv_callback, NULL, GUAC_ARGV_OPTION_ECHO);
|
||||
|
@ -51,6 +51,7 @@ int guac_client_init(guac_client* client) {
|
||||
/* Set handlers */
|
||||
client->join_handler = guac_ssh_user_join_handler;
|
||||
client->free_handler = guac_ssh_client_free_handler;
|
||||
client->leave_handler = guac_ssh_user_leave_handler;
|
||||
|
||||
/* Register handlers for argument values that may be sent after the handshake */
|
||||
guac_argv_register(GUAC_SSH_ARGV_COLOR_SCHEME, guac_ssh_argv_callback, NULL, GUAC_ARGV_OPTION_ECHO);
|
||||
|
@ -55,6 +55,7 @@ int guac_client_init(guac_client* client) {
|
||||
/* Set handlers */
|
||||
client->join_handler = guac_telnet_user_join_handler;
|
||||
client->free_handler = guac_telnet_client_free_handler;
|
||||
client->leave_handler = guac_telnet_user_leave_handler;
|
||||
|
||||
/* Register handlers for argument values that may be sent after the handshake */
|
||||
guac_argv_register(GUAC_TELNET_ARGV_COLOR_SCHEME, guac_telnet_argv_callback, NULL, GUAC_ARGV_OPTION_ECHO);
|
||||
|
Loading…
Reference in New Issue
Block a user