Skip to content

Commit e523eaf

Browse files
authored
Add duvet todo (#319)
1 parent fe78d1c commit e523eaf

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.duvet/snapshot.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,10 +565,10 @@ SPECIFICATION: https://www.rfc-editor.org/rfc/rfc9114
565565
TEXT[!MUST,implementation,test]: Receiving a
566566
TEXT[!MUST,implementation,test]: CANCEL_PUSH frame on a stream other than the control stream MUST be
567567
TEXT[!MUST,implementation,test]: treated as a connection error of type H3_FRAME_UNEXPECTED.
568-
TEXT[!MUST]: If a CANCEL_PUSH frame is received that
569-
TEXT[!MUST]: references a push ID greater than currently allowed on the
570-
TEXT[!MUST]: connection, this MUST be treated as a connection error of type
571-
TEXT[!MUST]: H3_ID_ERROR.
568+
TEXT[!MUST,todo]: If a CANCEL_PUSH frame is received that
569+
TEXT[!MUST,todo]: references a push ID greater than currently allowed on the
570+
TEXT[!MUST,todo]: connection, this MUST be treated as a connection error of type
571+
TEXT[!MUST,todo]: H3_ID_ERROR.
572572
TEXT[!MUST,todo]: If a server receives a CANCEL_PUSH frame for a push
573573
TEXT[!MUST,todo]: ID that has not yet been mentioned by a PUSH_PROMISE frame, this MUST
574574
TEXT[!MUST,todo]: be treated as a connection error of type H3_ID_ERROR.

h3/src/server/connection.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,13 @@ where
244244
#[cfg(feature = "tracing")]
245245
warn!("Control frame ignored {:?}", _frame);
246246

247+
//= https://www.rfc-editor.org/rfc/rfc9114#section-7.2.3
248+
//= type=TODO
249+
//# If a CANCEL_PUSH frame is received that
250+
//# references a push ID greater than currently allowed on the
251+
//# connection, this MUST be treated as a connection error of type
252+
//# H3_ID_ERROR.
253+
247254
//= https://www.rfc-editor.org/rfc/rfc9114#section-7.2.3
248255
//= type=TODO
249256
//# If a server receives a CANCEL_PUSH frame for a push

0 commit comments

Comments
 (0)