]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CONTRIB: debug: fix a few flags definitions
authorWilly Tarreau <w@1wt.eu>
Mon, 15 Jan 2018 17:59:16 +0000 (18:59 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 15 Jan 2018 17:59:16 +0000 (18:59 +0100)
Commit f4cfcf9 ("MINOR: debug/flags: Add missing flags") added a number
of missing flags but a few of them were incorrect, hiding real values.
This can be backported to 1.8.

contrib/debug/flags.c

index db601aa64ea3685eb2d29cfe62018f5ee38d3915..558072f26591025b2e4e5bd4ffab1084427b8afb 100644 (file)
@@ -43,8 +43,8 @@ void show_chn_ana(unsigned int f)
        SHOW_FLAG(f, AN_REQ_FLT_XFER_DATA);
        SHOW_FLAG(f, AN_REQ_FLT_END);
 
-       SHOW_FLAG(f, AN_REQ_FLT_START_FE);
-       SHOW_FLAG(f, AN_REQ_FLT_START_BE);
+       SHOW_FLAG(f, AN_RES_FLT_START_FE);
+       SHOW_FLAG(f, AN_RES_FLT_START_BE);
        SHOW_FLAG(f, AN_RES_INSPECT);
        SHOW_FLAG(f, AN_RES_WAIT_HTTP);
        SHOW_FLAG(f, AN_RES_STORE_RULES);
@@ -127,8 +127,6 @@ void show_conn_flags(unsigned int f)
        SHOW_FLAG(f, CO_FL_WAIT_L6_CONN);
        SHOW_FLAG(f, CO_FL_WAIT_L4_CONN);
        SHOW_FLAG(f, CO_FL_CONNECTED);
-       SHOW_FLAG(f, CO_FL_NOTIFY_DATA);
-       SHOW_FLAG(f, CO_FL_NOTIFY_DONE);
        SHOW_FLAG(f, CO_FL_ERROR);
        SHOW_FLAG(f, CO_FL_SOCK_WR_SH);
        SHOW_FLAG(f, CO_FL_SOCK_RD_SH);