]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: mux-h2: move H2_CF_WAIT_IN_LIST flag away from the demux flags
authorWilly Tarreau <w@1wt.eu>
Wed, 2 Oct 2024 12:13:24 +0000 (14:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 12 Oct 2024 14:29:16 +0000 (16:29 +0200)
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

index 2b9f151be7baf1e4518306523094ffa1831bc71d..f6a034bc1b12be9847d9f2bad33a53fef2523577 100644 (file)
@@ -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