Skip to content

Emit abort handshake event #2045

Closed
@emanuele-dedonatis

Description

@emanuele-dedonatis

Is there an existing issue for this?

  • I've searched for any related issues and avoided creating a duplicate issue.

Description

No response

ws version

8.6.0

Node.js Version

16

System

No response

Expected result

During the handleUpgrade it would be nice an event to catch the handshake fail

Actual result

I'm not able to catch upgrade errors, like in the attached screenshot where the client is sending an invalid sec-websocket-key

Attachments

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions