mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
MINOR: stream/cli: report more info about the HTTP messages on "show sess all"
The "show sess all" command didn't allow to detect whether compression is in use for a given stream, which is sometimes annoying. Let's add a few more info about the HTTP messages, namely the flags, body len, chunk len and the "next" pointer.
This commit is contained in:
parent
adf7a15bd1
commit
7778b59be1
@ -2951,9 +2951,13 @@ static int stats_dump_full_strm_to_buffer(struct stream_interface *si, struct st
|
||||
|
||||
if (strm->txn)
|
||||
chunk_appendf(&trash,
|
||||
" txn=%p flags=0x%x meth=%d status=%d req.st=%s rsp.st=%s\n",
|
||||
" txn=%p flags=0x%x meth=%d status=%d req.st=%s rsp.st=%s\n"
|
||||
" req.f=0x%02x blen=%llu chnk=%llu next=%u\n"
|
||||
" rsp.f=0x%02x blen=%llu chnk=%llu next=%u\n",
|
||||
strm->txn, strm->txn->flags, strm->txn->meth, strm->txn->status,
|
||||
h1_msg_state_str(strm->txn->req.msg_state), h1_msg_state_str(strm->txn->rsp.msg_state));
|
||||
h1_msg_state_str(strm->txn->req.msg_state), h1_msg_state_str(strm->txn->rsp.msg_state),
|
||||
strm->txn->req.flags, strm->txn->req.body_len, strm->txn->req.chunk_len, strm->txn->req.next,
|
||||
strm->txn->rsp.flags, strm->txn->rsp.body_len, strm->txn->rsp.chunk_len, strm->txn->rsp.next);
|
||||
|
||||
chunk_appendf(&trash,
|
||||
" si[0]=%p (state=%s flags=0x%02x endp0=%s:%p exp=%s et=0x%03x sub=%d)\n",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user