Skip to content

Commit

Permalink
Fix event size restriction (#3127)
Browse files Browse the repository at this point in the history
Fixes #3126
  • Loading branch information
turt2live committed Apr 16, 2021
1 parent f000b8a commit dec4737
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/3127.clarification
@@ -0,0 +1 @@
Fix the maximum event size restriction (65535 bytes -> 65536).
4 changes: 2 additions & 2 deletions content/client-server-api/_index.md
Expand Up @@ -1447,7 +1447,7 @@ following fields.

### 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
protocol](/server-server-api/#pdus), including any
signatures, and encoded as [Canonical
Expand All @@ -1463,7 +1463,7 @@ There are additional restrictions on sizes per key:

Some event types have additional size restrictions which are specified
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

Expand Down

0 comments on commit dec4737

Please sign in to comment.