mirror of
https://github.com/vacp2p/specs.git
synced 2026-01-09 15:28:03 -05:00
Add a limit of 8MiB to secio messages size
This commit is contained in:
@@ -124,7 +124,8 @@ negotiation.
|
|||||||
### Message framing
|
### Message framing
|
||||||
|
|
||||||
All messages sent over the wire are prefixed with the message length in bytes,
|
All messages sent over the wire are prefixed with the message length in bytes,
|
||||||
encoded as an unsigned 32-bit Big Endian integer.
|
encoded as an unsigned 32-bit Big Endian integer. The message length should always
|
||||||
|
be inferior to 0x800000 (or 8MiB).
|
||||||
|
|
||||||
### Proposal Generation
|
### Proposal Generation
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user