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.
This commit is contained in:
Willy Tarreau 2019-01-07 10:01:34 +01:00
parent 909b9d852b
commit b84e67fee9

View File

@ -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);
}