summaryrefslogtreecommitdiffstats
path: root/include/haproxy/qpack-t.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/haproxy/qpack-t.h')
-rw-r--r--include/haproxy/qpack-t.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/haproxy/qpack-t.h b/include/haproxy/qpack-t.h
index 0e1736a..1cc6dab 100644
--- a/include/haproxy/qpack-t.h
+++ b/include/haproxy/qpack-t.h
@@ -43,5 +43,12 @@
#define QPACK_DEC_INST_SCCL 0x40 // Stream Cancellation
#define QPACK_DEC_INST_SACK 0x80 // Section Acknowledgment
+/* RFC 9204 6. Error Handling */
+enum qpack_err {
+ QPACK_ERR_DECOMPRESSION_FAILED = 0x200,
+ QPACK_ERR_ENCODER_STREAM_ERROR = 0x201,
+ QPACK_ERR_DECODER_STREAM_ERROR = 0x202,
+};
+
#endif /* USE_QUIC */
#endif /* _HAPROXY_QPACK_T_H */