plaintext: Clarify only handshake messages being framed

Make clear that only the plaintext protocol handshake messages are
length prefixed, not the actual user level data send via a negotiated
plaintext protocol connection.
This commit is contained in:
Max Inden
2020-09-16 11:41:45 +02:00
parent 2cb3e7b971
commit 643c122967

View File

@@ -112,9 +112,11 @@ section of the connection establishment spec][conn-spec-protocol-negotiation].
### Message Framing
All messages sent over the wire are prefixed with the message length in bytes,
encoded as an unsigned variable length integer as defined by the [multiformats
unsigned-varint spec][uvarint-spec].
All [plaintext protocol specific messages](#messages) sent over the wire are
prefixed with the message length in bytes, encoded as an unsigned variable
length integer as defined by the [multiformats unsigned-varint
spec][uvarint-spec]. Data send via a negotiated plaintext protocol connection is
not prefixed with the data length, but send as is.
### Exchange