Github user necouchman commented on a diff in the pull request:
https://github.com/apache/incubator-guacamole-server/pull/93#discussion_r121976615
--- Diff: src/protocols/rdp/rdp_settings.c ---
@@ -775,6 +783,14 @@ guac_rdp_settings* guac_rdp_parse_args(guac_user* user,
settings->sftp_directory =
guac_user_parse_args_string(user, GUAC_RDP_CLIENT_ARGS, argv,
IDX_SFTP_DIRECTORY, NULL);
+
+ /* Default keepalive value */
+ settings->sftp_keepalive =
+ guac_user_parse_args_int(user, GUAC_RDP_CLIENT_ARGS, argv,
+ IDX_SFTP_KEEPALIVE, 0);
+ if (settings->sftp_keepalive == 1)
+ guac_user_log(user, GUAC_LOG_WARNING, "The minimum allowed "
+ "value for keepalives by libssh2 is 2 seconds.");
--- End diff --
Tweaked the error message.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---