MINOR: quic: convert qc_stream_desc release field to flags
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 5 Aug 2024 16:52:27 +0000 (18:52 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 19 Sep 2024 08:54:02 +0000 (10:54 +0200)
commitcbdf1ecb1951d29d97d70b6b9daa0278fcedd261
tree831959a764c2ad8e92558a56616b4ab2695f8572
parent5ac8a0b27d973d4210f2479d97ee24aef0d5bf5d
MINOR: quic: convert qc_stream_desc release field to flags

qc_stream_desc had a field <release> used as a boolean. Convert it with
a new <flags> field and QC_SD_FL_RELEASE value as equivalent.

The purpose of this patch is to be able to extend qc_stream_desc by
adding newer flags values. This patch is required for the following
patch
  BUG/MEDIUM: quic: handle retransmit for standalone FIN STREAM

As such, it must be backported prior to it.

(cherry picked from commit bb9ac256a1e5468535b8242dc762e7bb0d9a8bf3)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
include/haproxy/quic_stream-t.h
src/quic_conn.c
src/quic_stream.c