Skip to content

MAX_MESSAGE_SIZE constant is not documented or enforced with a compile-time assertion against protocol limits #240

Closed

Description

@alpergundogdu

The MAX_MESSAGE_SIZE bound in framing.rs is a critical protocol safety parameter but lacks documentation explaining its derivation (e.g. relation to max_blob_size_mb or QUIC stream limits) and has no compile-time or test assertion tying it to known protocol constraints, making it easy to change accidentally.

Activity

  1. added
    kind:docs
    kind:feature
    design:adr
    on Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design:adrkind:docskind:feature

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions