Github user necouchman commented on a diff in the pull request:

    
https://github.com/apache/incubator-guacamole-server/pull/93#discussion_r119500279
  
    --- Diff: src/protocols/ssh/ssh.c ---
    @@ -318,11 +323,18 @@ void* ssh_client_thread(void* data) {
     
         /* While data available, write to terminal */
         int bytes_read = 0;
    +    int timeout = 0;
         for (;;) {
     
             /* Track total amount of data read */
             int total_read = 0;
     
    +        /* Set up return value for keepalives */
    +        int alive = 0;
    --- End diff --
    
    Removed alive and called the libssh2_keepalive_send() method inside the 
if() statement as you suggested.


---
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.
---

Reply via email to