Skip to content

AIOHTTP websocket messages of type "ERROR" not handled correctly #3634

@DoctorJohn

Description

@DoctorJohn

Describe the Bug

Both our AIOHTTP implementations of the WS subprotocols currently don't handle AIOHTTP WS messages of type "ERROR" correctly:

  • Our implementation of the legacy WS subprotocol ignores messages of type ERROR (ref)
  • Our implementation of the newer WS subprotocol complains that it's not a TEXT message and closes the connection (ref)

Instead, both implementations should return an error to the client and close the connection.

Metadata

Metadata

Assignees

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