From: Willy Tarreau Date: Wed, 2 Oct 2024 12:13:24 +0000 (+0200) Subject: MINOR: mux-h2: move H2_CF_WAIT_IN_LIST flag away from the demux flags X-Git-Tag: v3.1-dev10~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b5ac2b553a757a4e45168f4ee7548af49cb396e;p=thirdparty%2Fhaproxy.git MINOR: mux-h2: move H2_CF_WAIT_IN_LIST flag away from the demux flags It's not convenient to have this flag in the middle of the demux flags, it easily hides other ones that need to be added. Let's move it after the other ones. --- diff --git a/include/haproxy/mux_h2-t.h b/include/haproxy/mux_h2-t.h index 2b9f151be7..f6a034bc1b 100644 --- a/include/haproxy/mux_h2-t.h +++ b/include/haproxy/mux_h2-t.h @@ -41,8 +41,7 @@ */ #define H2_CF_DEM_DALLOC 0x00000004 // demux blocked on lack of connection's demux buffer #define H2_CF_DEM_DFULL 0x00000008 // demux blocked on connection's demux buffer full - -#define H2_CF_WAIT_INLIST 0x00000010 // there is at least one stream blocked by another stream in send_list/fctl_list +/* unused: 0x10 */ #define H2_CF_DEM_MROOM 0x00000020 // demux blocked on lack of room in mux buffer #define H2_CF_DEM_SALLOC 0x00000040 // demux blocked on lack of stream's request buffer #define H2_CF_DEM_SFULL 0x00000080 // demux blocked on stream request buffer full @@ -69,6 +68,7 @@ #define H2_CF_ERR_PENDING 0x00800000 // A write error was detected (block sends but not reads) #define H2_CF_ERROR 0x01000000 //A read error was detected (handled has an abort) +#define H2_CF_WAIT_INLIST 0x02000000 // there is at least one stream blocked by another stream in send_list/fctl_list /* This function is used to report flags in debugging tools. Please reflect * below any single-bit flag addition above in the same order via the