necouchman commented on a change in pull request #362:
URL: https://github.com/apache/guacamole-server/pull/362#discussion_r797228945
##########
File path: src/protocols/rdp/channels/disp.c
##########
@@ -277,6 +278,17 @@ void guac_rdp_disp_update_size(guac_rdp_disp* disp,
}
int guac_rdp_disp_reconnect_needed(guac_rdp_disp* disp) {
+ guac_rdp_client* rdp_client = (guac_rdp_client*) disp->client->data;
+
+ // Do not reconnect if files are open.
Review comment:
Fixed via rebase.
##########
File path: src/protocols/rdp/channels/disp.c
##########
@@ -277,6 +278,17 @@ void guac_rdp_disp_update_size(guac_rdp_disp* disp,
}
int guac_rdp_disp_reconnect_needed(guac_rdp_disp* disp) {
+ guac_rdp_client* rdp_client = (guac_rdp_client*) disp->client->data;
+
+ // Do not reconnect if files are open.
+ if (rdp_client->filesystem->open_files > 0)
+ return 0;
+
+ // Do not reconnect if an active print job is present
Review comment:
Fixed via rebase.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]