]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: stconn: Add missing SC_FL_NO_FASTFWD flag in sc_show_flags
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 3 Feb 2026 17:32:19 +0000 (18:32 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 18 Feb 2026 08:44:16 +0000 (09:44 +0100)
SC_FL_NO_FASTFWD flag was not listed in sc_show_flags() function. Let's do
so.

This patch could be backported as far as 3.0.

include/haproxy/stconn-t.h

index 0b8193711fb32b9c1cc7d6c1fb19df97857e43e2..08cbf1b382ce70b035fee7d296c53315b86b478e 100644 (file)
@@ -224,7 +224,7 @@ static forceinline char *sc_show_flags(char *buf, size_t len, const char *delim,
        _(SC_FL_NEED_BUFF, _(SC_FL_NEED_ROOM,
         _(SC_FL_RCV_ONCE, _(SC_FL_SND_ASAP, _(SC_FL_SND_NEVERWAIT, _(SC_FL_SND_EXP_MORE,
        _(SC_FL_ABRT_WANTED, _(SC_FL_SHUT_WANTED, _(SC_FL_ABRT_DONE, _(SC_FL_SHUT_DONE,
-       _(SC_FL_EOS, _(SC_FL_HAVE_BUFF))))))))))))))))))));
+       _(SC_FL_EOS, _(SC_FL_HAVE_BUFF, _(SC_FL_NO_FASTFWD)))))))))))))))))))));
        /* epilogue */
        _(~0U);
        return buf;