A client socket stays in connecting state if an invalid URI is given #5

Closed
flowersinthesand opened this Issue May 26, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@flowersinthesand
Member

flowersinthesand commented May 26, 2015

If an invalid URI is given that means if no transport factory specified can handle the given URI, a client socket stays in connecting state forever.

var socket = cettia.open("http://localhost:8080?transport=unknown");
socket.on("close", function() {
    console.log("never called");
});

It should try a connection with a next URI or fire error and close event if there is no remaining URI.

@flowersinthesand flowersinthesand added this to the 1.0.0-Alpha2 milestone May 26, 2015

@flowersinthesand flowersinthesand self-assigned this Feb 11, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment