From: Willy Tarreau Date: Mon, 7 Jan 2019 09:01:34 +0000 (+0100) Subject: MINOR: stream/htx: add the HTX flags output in "show sess all" X-Git-Tag: v2.0-dev1~260 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b84e67fee9c26d6df676ab0db1fddeb3bf159ef5;p=thirdparty%2Fhaproxy.git MINOR: stream/htx: add the HTX flags output in "show sess all" Commit b9af88151 ("MINOR: stream/htx: Add info about the HTX structs in "show sess all" command") accidently forgot the flags on the request path, it was only on the response path. It makes sense to backport this to 1.9 so that both outputs are the same. --- diff --git a/src/stream.c b/src/stream.c index 2bc111d997..aabc6c9ab3 100644 --- a/src/stream.c +++ b/src/stream.c @@ -3087,8 +3087,8 @@ static int stats_dump_full_strm_to_buffer(struct stream_interface *si, struct st struct htx *htx = htxbuf(&strm->req.buf); chunk_appendf(&trash, - " htx=%p size=%u data=%u used=%u wrap=%s extra=%llu\n", - htx, htx->size, htx->data, htx->used, + " htx=%p flags=0x%x size=%u data=%u used=%u wrap=%s extra=%llu\n", + htx, htx->flags, htx->size, htx->data, htx->used, (!htx->used || htx->tail+1 == htx->wrap) ? "NO" : "YES", (unsigned long long)htx->extra); }