Skip to content

Incorrect reporting of PayloadTooBig when reading fragmented messages #1522

@aaugustin

Description

@aaugustin

When reading a fragmented message, Protocol.parse decrements max_size as fragments are read.

This can cause a confusing error in Frame.parse:

ConnectionClosedError: sent 1009 (message too big) over size limit (1048576 > 0 bytes); no close frame received

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions