Skip to content

Don't notify WebSocketListener with onClose(1000) when user closes the WebSocket #1198

Closed
@slandelle

Description

@slandelle

As per spec, WebSocket Close frame is supposed to be acked by the remote peer with another Close Frame. The socket is only closed then.
Listener should only be notified once the ask is received and we actually close the socket.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions