MINOR: h3: support DATA demux if buffer full
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 27 Apr 2022 13:37:20 +0000 (15:37 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 28 Apr 2022 13:44:19 +0000 (15:44 +0200)
commit48f01bda86eb053d79771d2dd4e809a93909e5cd
tree2031ba24129306057a73a75ee2c9177f95b89854
parent67e92d365239ad9346e92fc9f271a819fa574ced
MINOR: h3: support DATA demux if buffer full

Previously, h3 layer was not able to demux a DATA frame if not fully
received in the Rx buffer. This causes evident limitation and prevents
to be able to demux a frame bigger than the buffer.

Improve h3_data_to_htx() to support partial frame demuxing. The demux
state is preserved in the h3s new fields : this is useful to keep the
current type and length of the demuxed frame.
src/h3.c