incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1012) Client and target don't automatically try to reconnect to eachother
Date Fri, 06 Jul 2012 18:40:34 GMT

    [ https://issues.apache.org/jira/browse/CB-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408207#comment-13408207
] 

Patrick Mueller commented on CB-1012:
-------------------------------------

I agree this is pretty annoying behavior.

On the other hand, it's very difficult behavior to get right.  Think about all the different
things connected to each other.  There's also "auto-connect" logic, so that a client will
always connect to the newest target that connects to the server, etc.

Best of luck!
                
> 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