Uploaded image for project: 'Apache Guacamole - Contributions'
  1. Apache Guacamole - Contributions
  2. GUAC-1082

HTTP tunnel fails to reconnect

    XMLWordPrintable

    Details

    • Sprint:
      DEV 2015-04-10
    • Story Points:
      1

      Description

      When using HttpTunnel reconnect is not possible

      How to reproduce:
      1. Connect to remote vm using HttpTunnel
      2. Execute 'Disconnect' on client
      3. Execute 'Connect'

      After debugging this I found out that the the cause is 'sendingMessages' variable is preventing 'sendPendingMessages' function to be called. When the client does not send any messages, server thinks it's not active and disconnects it

      I think 'sendingMessages' variable should be reset side by side with channel close (this is working for me now, but might be implemented elsewhere in the tunnel)
      'outputMessageBuffer' is also been cleared here just for cleanup sake. Clearing just 'outputMessageBuffer' it is not enough for the client to respond after reconnect

        Attachments

          Activity

            People

            Assignee:
            mike.jumper Michael Jumper
            Reporter:
            daviddv David Dvora
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: