From 56e2ca00dc0bd264c21b72d7b28a46652d676d31 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Mon, 4 Nov 2019 12:09:21 +0700 Subject: [PATCH] allow CRYPTO_BUFFER_EXCEEDED when overflowing a CRYPTO frame --- draft-ietf-quic-transport.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/draft-ietf-quic-transport.md b/draft-ietf-quic-transport.md index 25e01604cc..9e95af8144 100644 --- a/draft-ietf-quic-transport.md +++ b/draft-ietf-quic-transport.md @@ -4985,7 +4985,8 @@ level is treated as a separate CRYPTO stream of data. The largest offset delivered on a stream - the sum of the offset and data length - cannot exceed 2^62-1. Receipt of a frame that exceeds this limit MUST -be treated as a connection error of type FRAME_ENCODING_ERROR. +be treated as a connection error of type FRAME_ENCODING_ERROR or +CRYPTO_BUFFER_EXCEEDED. Unlike STREAM frames, which include a Stream ID indicating to which stream the data belongs, the CRYPTO frame carries data for a single stream per encryption