Add a limit of 8MiB to secio messages size

This commit is contained in:
Pierre Krieger
2019-12-09 14:32:03 +01:00
committed by GitHub
parent 7e69201ba3
commit 94ad1bde80

View File

@@ -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