MINOR: quic: remove fin from quic_stream frame type
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 2 Feb 2023 13:59:36 +0000 (14:59 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 3 Feb 2023 08:46:55 +0000 (09:46 +0100)
commit2216b0866e785f1fc2dcc3cecb66e9eeda045184
tree4c4bee98e7dbfbe6f61d3735620333df2115b29a
parent565e3cc43afd9e53157fbbccf821df55ee1d0cce
MINOR: quic: remove fin from quic_stream frame type

A dedicated <fin> field was used in quic_stream structure. However, this
info is already encoded in the frame type field as specified by QUIC
protocol.

In fact, only code for packet reception used the <fin> field. On the
sending side, we only checked for the FIN bit. To align both sides,
remove the <fin> field and only used the FIN bit.

This should be backported up to 2.7.
include/haproxy/quic_frame-t.h
src/quic_conn.c
src/quic_frame.c