Fix event size restriction (#3127)
Fixes https://github.com/matrix-org/matrix-doc/issues/3126
This commit is contained in:
parent
8792da2ee0
commit
a855ed338b
2 changed files with 3 additions and 2 deletions
|
@ -0,0 +1 @@
|
||||||
|
Fix the maximum event size restriction (65535 bytes -> 65536).
|
|
@ -1447,7 +1447,7 @@ following fields.
|
||||||
|
|
||||||
### Size limits
|
### Size limits
|
||||||
|
|
||||||
The complete event MUST NOT be larger than 65535 bytes, when formatted
|
The complete event MUST NOT be larger than 65536 bytes, when formatted
|
||||||
as a [PDU for the Server-Server
|
as a [PDU for the Server-Server
|
||||||
protocol](/server-server-api/#pdus), including any
|
protocol](/server-server-api/#pdus), including any
|
||||||
signatures, and encoded as [Canonical
|
signatures, and encoded as [Canonical
|
||||||
|
@ -1463,7 +1463,7 @@ There are additional restrictions on sizes per key:
|
||||||
|
|
||||||
Some event types have additional size restrictions which are specified
|
Some event types have additional size restrictions which are specified
|
||||||
in the description of the event. Additional keys have no limit other
|
in the description of the event. Additional keys have no limit other
|
||||||
than that implied by the total 65 KB limit on events.
|
than that implied by the total 64 KiB limit on events.
|
||||||
|
|
||||||
### Room Events
|
### Room Events
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue