Application-defined error codes #74
Labels
-recovery
-transport
design
An issue that affects the design of the protocol; resolution requires consensus.
has-consensus
An issue that the Chairs have determined has consensus, by canvassing the mailing list.
If applications want to terminate a stream or connection for a reason that isn't specific to the QUIC transport layer, they currently need to define their own error communication mechanism and wait for the frame to be acknowledged before they tell QUIC to terminate the stream/connection. That's not necessarily practical.
Could we carve out a segment of the error space and define them to be application-defined, so each application mapping can add whatever error codes are relevant to it? E.g. QUIC currently defines QUIC_DECOMPRESSION_FAILURE, but QUIC defines no compression. That's really there for HPACK, I presume.
We could do likewise for handshake errors, since that's also pluggable -- QUIC will have its own AEAD error codes, but things that could go wrong in the handshake will vary by which handshake protocol we're using.
The text was updated successfully, but these errors were encountered: