Skip to content

Failed namespace authorization should fire 'connect_failed', not 'error' event #524

Description

@fodor0205

Documentation says:
"Failed authorizations are handled a bit differently than global authorization requests. Instead of emitting an error event we emit a connect_failed event."

But it fires the 'error' event.

I have written a small testcase for this:

My socket.io is v0.8.4

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions