incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gorgi Kosev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-1012) Client and target don't automatically try to reconnect to eachother
Date Fri, 06 Jul 2012 14:21:35 GMT
Gorgi Kosev created CB-1012:
-------------------------------

             Summary: Client and target don't automatically try to reconnect to eachother
                 Key: CB-1012
                 URL: https://issues.apache.org/jira/browse/CB-1012
             Project: Apache Cordova
          Issue Type: Bug
          Components: weinre
    Affects Versions: Master
         Environment: Ubuntu Linux 12.04, node 0.8.1,  
            Reporter: Gorgi Kosev
            Assignee: Patrick Mueller
             Fix For: Master


If for some reason the target loses its connection to the server, the whole page will have
to be reloaded. This is kinda annoying for single-page apps running in a webview without a
refresh button.

The target should automatically try to reconnect to the server (and get connected to the previous
debug client).

What would it take to make this happen? Will adding reconnect code for the WebSocketXhr instance
(_socket) to MessageDispatcher.prototype._handleClose work?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message