Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

max_message_size and HTTP headers #49

@GroupCamp

Description

@GroupCamp

In P:W:Message the max_message_size is set to 2048 bytes. When one have a large HTTP header sent during the handshake (lets say, a lot of cookies, or cookies with large values, or anything similar), the message is silently rejected, and it is really uneasy to:

  • detect something happened
  • change the default value

We use P:W via Net::Async::WekSocket::* to manage a WebSocket server, and there is no easy way to carry a different "max_message_size" through the whole system to the P:W:Handshake (despite the fact a large HTTP header is legitimate).

The max_message_size is not even a security : the large message has already been read when the size is tested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions