http-extensions icon indicating copy to clipboard operation
http-extensions copied to clipboard

connect-tcp: require capsules

Open DavidSchinazi opened this issue 6 months ago • 1 comments

As of draft-ietf-httpbis-connect-tcp-05, connect-tcp now optionally supports the capsule protocol. However, this optionality adds non-trivial complexity to implementations. As currently written, if a client wishes to use capsules, the server can reject the use of capsules, and now the client needs to cache that this server doesn't support them. However it's undefined for how long the client should cache this information, and within what scope. We could potentially figure out recommendations for all these questions, but fundamentally it might be best to instead make capsules mandatory for connect-tcp, like they are for connect-udp and connect-ip. That would simplify implementations and improve consistency.

DavidSchinazi avatar Aug 05 '24 20:08 DavidSchinazi