]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CONTRIB: debug: fix build related to conn_stream flags change
authorWilly Tarreau <w@1wt.eu>
Fri, 16 Nov 2018 09:37:20 +0000 (10:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 16 Nov 2018 09:39:50 +0000 (10:39 +0100)
Commit 53216e7db ("MEDIUM: connections: Don't directly mess with the
polling from the upper layers.") removed the CS_FL_DATA_RD_ENA and
CS_FL_DATA_WR_ENA flags without updating flags.c, thus breaking the
build. This patch also adds flag CL_FL_NOT_FIRST which was brought
by commit 08088e77c.

contrib/debug/flags.c

index ae885d6d857547a0c6c738c2dfcbe3437cf939df..545e6c23437ace8df4911b1577e6e6624ef302c6 100644 (file)
@@ -156,6 +156,7 @@ void show_cs_flags(unsigned int f)
                printf("0\n");
                return;
        }
+       SHOW_FLAG(f, CS_FL_NOT_FIRST);
        SHOW_FLAG(f, CS_FL_WAIT_FOR_HS);
        SHOW_FLAG(f, CS_FL_REOS);
        SHOW_FLAG(f, CS_FL_EOS);
@@ -165,8 +166,6 @@ void show_cs_flags(unsigned int f)
        SHOW_FLAG(f, CS_FL_SHWN);
        SHOW_FLAG(f, CS_FL_SHRR);
        SHOW_FLAG(f, CS_FL_SHRD);
-       SHOW_FLAG(f, CS_FL_DATA_WR_ENA);
-       SHOW_FLAG(f, CS_FL_DATA_RD_ENA);
 
        if (f) {
                printf("EXTRA(0x%08x)", f);