]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mux-quic: add a app-layer context in qcs
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 27 Apr 2022 13:17:11 +0000 (15:17 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 28 Apr 2022 13:44:19 +0000 (15:44 +0200)
commit47447af1efb400ca894a150216b0802c10486e51
tree1268380e812417ec754b750d4ca6e533b01b91ec
parent314578a54f87b217f517715cdb00e4c77c5b721d
MINOR: mux-quic: add a app-layer context in qcs

Define 2 new callback for qcc_app_ops : attach and detach. They are
called when a qcs instance is respectively allocated and freed. If
implemented, they can allocate a custom context stored in the new
abstract field ctx of qcs.

For now, h3 and hq-interop does not use these new callbacks. They will
be soon implemented by the h3 layer to allocate a context used for
stateful demuxing.

This change is required to support the demuxing of H3 frames bigger than
a buffer.
include/haproxy/mux_quic-t.h
src/mux_quic.c