LPardue / draft-pardue-capsule-ext-guidance

Guidance for extensibility of the Capsule Protocol
Other
0 stars 1 forks source link

Define a more generic [H2_|H3]_CAPSULE_ERROR #1

Open DavidSchinazi opened 5 days ago

DavidSchinazi commented 5 days ago

RFC 9297 defines H3_DATAGRAM_ERROR as "Datagram or Capsule Protocol parse error". Then it started being used to convey errors during the parsing of data inside capsules by connect-ip:

If any of the capsule fields are malformed upon reception, the receiver of the capsule MUST follow the error-handling procedure defined in Section 3.3 of [HTTP-DGRAM].

This has caused confusion for readers, both in QUIC Proxying and in WRAP_UP.

So we should define more generic capsule parsing errors for h2 and h3.

LPardue commented 9 hours ago

Added some text in https://github.com/LPardue/draft-pardue-capsule-ext-guidance/commit/9d06950a5d1684c56e51db1949b55d012db7fbd3