mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-14 11:35:16 -04:00
MINOR: cli/stream: add the conn_stream in "show sess" output
The "show sess" output didn't report the conn_stream nor its flags, which was a bit problematic. Now it's done.
This commit is contained in:
parent
f2ddd87362
commit
fb3b1b00e2
1 changed files with 4 additions and 0 deletions
|
|
@ -3000,6 +3000,8 @@ static int stats_dump_full_strm_to_buffer(struct stream_interface *si, struct st
|
|||
conn->handle.fd >= 0 ? fdtab[conn->handle.fd].cache.next >= -2 : 0,
|
||||
conn->handle.fd >= 0 ? !!(fdtab[conn->handle.fd].update_mask & tid_bit) : 0,
|
||||
conn->handle.fd >= 0 ? fdtab[conn->handle.fd].thread_mask: 0);
|
||||
|
||||
chunk_appendf(&trash, " cs=%p csf=0x%08x ctx=%p\n", cs, cs->flags, cs->ctx);
|
||||
}
|
||||
else if ((tmpctx = objt_appctx(strm->si[0].end)) != NULL) {
|
||||
chunk_appendf(&trash,
|
||||
|
|
@ -3035,6 +3037,8 @@ static int stats_dump_full_strm_to_buffer(struct stream_interface *si, struct st
|
|||
conn->handle.fd >= 0 ? fdtab[conn->handle.fd].cache.next >= -2 : 0,
|
||||
conn->handle.fd >= 0 ? !!(fdtab[conn->handle.fd].update_mask & tid_bit) : 0,
|
||||
conn->handle.fd >= 0 ? fdtab[conn->handle.fd].thread_mask: 0);
|
||||
|
||||
chunk_appendf(&trash, " cs=%p csf=0x%08x ctx=%p\n", cs, cs->flags, cs->ctx);
|
||||
}
|
||||
else if ((tmpctx = objt_appctx(strm->si[1].end)) != NULL) {
|
||||
chunk_appendf(&trash,
|
||||
|
|
|
|||
Loading…
Reference in a new issue