From 3b5ac2b553a757a4e45168f4ee7548af49cb396e Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 2 Oct 2024 14:13:24 +0200 Subject: [PATCH] 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. --- include/haproxy/mux_h2-t.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/haproxy/mux_h2-t.h b/include/haproxy/mux_h2-t.h index 2b9f151be..f6a034bc1 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