From: Willy Tarreau Date: Wed, 20 Jan 2021 14:50:03 +0000 (+0100) Subject: BUG/MINOR: mux_h2: missing space between "st" and ".flg" in the "show fd" helper X-Git-Tag: v2.4-dev6~44 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed4464e6c698bfb410610b7f3850cd0fa3331eb1;p=thirdparty%2Fhaproxy.git BUG/MINOR: mux_h2: missing space between "st" and ".flg" in the "show fd" helper That was causing confusing outputs like this one whenan H2S is known: 1030 : ... last_h2s=0x2ed8390 .id=775 .st=HCR.flg=0x4001 .rxbuf=... ^^^^ This was introduced by commit ab2ec4540 in 2.1-dev2 so the fix can be backported as far as 2.1. --- diff --git a/src/mux_h2.c b/src/mux_h2.c index e4fb6c3f21..55ed8da48b 100644 --- a/src/mux_h2.c +++ b/src/mux_h2.c @@ -6240,7 +6240,7 @@ static void h2_show_fd(struct buffer *msg, struct connection *conn) (unsigned int)b_head_ofs(tmbuf), (unsigned int)b_size(tmbuf)); if (h2s) { - chunk_appendf(msg, " last_h2s=%p .id=%d .st=%s.flg=0x%04x .rxbuf=%u@%p+%u/%u .cs=%p", + chunk_appendf(msg, " last_h2s=%p .id=%d .st=%s .flg=0x%04x .rxbuf=%u@%p+%u/%u .cs=%p", h2s, h2s->id, h2s_st_to_str(h2s->st), h2s->flags, (unsigned int)b_data(&h2s->rxbuf), b_orig(&h2s->rxbuf), (unsigned int)b_head_ofs(&h2s->rxbuf), (unsigned int)b_size(&h2s->rxbuf),