Skip to content

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

Description

@flowersinthesand

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions