Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

RawSocket: Check client/router maxlength when sending/receiving messages #28

@danmarcab

Description

@danmarcab

From WAMP docs:

During the connection, Router MUST NOT send messages to the Client longer than the LENGTH requested by the Client, and the Client MUST NOT send messages larger than the maximum requested by the Router in it's handshake reply.

We already have the max_length and router_max_length in the transport state, we need to check the messages and close the connection if message is longer than the limits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions