From b84e67fee9c26d6df676ab0db1fddeb3bf159ef5 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 7 Jan 2019 10:01:34 +0100 Subject: [PATCH] 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. --- src/stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stream.c b/src/stream.c index 2bc111d99..aabc6c9ab 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); }