Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specced max pdu size is incorrect #3126

Closed
richvdh opened this issue Apr 15, 2021 · 0 comments · Fixed by #3127
Closed

specced max pdu size is incorrect #3126

richvdh opened this issue Apr 15, 2021 · 0 comments · Fixed by #3127
Labels
spec-bug Something which is in the spec, but is wrong

Comments

@richvdh
Copy link
Member

richvdh commented Apr 15, 2021

Link to problem area:

https://matrix.org/docs/spec/client_server/r0.6.1#size-limits

Issue

This claims that "the complete event MUST NOT be larger than 65535 bytes". In fact the maximum size for an event is 65536 bytes.

See: matrix-org/synapse#323 which introduced this limit to Synapse in October 2015; #1023 which introduced the limit in the spec two years later.

@richvdh richvdh added the spec-bug Something which is in the spec, but is wrong label Apr 15, 2021
turt2live added a commit that referenced this issue Apr 15, 2021
richvdh pushed a commit that referenced this issue Apr 16, 2021
richvdh pushed a commit that referenced this issue Aug 23, 2021
richvdh pushed a commit that referenced this issue Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec-bug Something which is in the spec, but is wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant