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.
diff --git a/src/stream.c b/src/stream.c
index 3dd5a20..2918589 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -2951,9 +2951,13 @@
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",