mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 22:01:31 +02:00
BUG/CLEANUP: CLI: report the proper field states in "show sess"
Commit 16f649c ("REORG: polling: rename "fd_spec" to "fd_cache"") missed the server-facing connection during the rename, so the old names are still in used and add a bit of confusion during the debugging. This should be backported to 1.6 and 1.5.
This commit is contained in:
parent
9f256d4d85
commit
ceeafb5efc
@ -5591,7 +5591,7 @@ static int stats_dump_full_sess_to_buffer(struct stream_interface *si, struct st
|
|||||||
obj_base_ptr(conn->target));
|
obj_base_ptr(conn->target));
|
||||||
|
|
||||||
chunk_appendf(&trash,
|
chunk_appendf(&trash,
|
||||||
" flags=0x%08x fd=%d fd_spec_e=%02x fd_spec_p=%d updt=%d\n",
|
" flags=0x%08x fd=%d fd.state=%02x fd.cache=%d updt=%d\n",
|
||||||
conn->flags,
|
conn->flags,
|
||||||
conn->t.sock.fd,
|
conn->t.sock.fd,
|
||||||
conn->t.sock.fd >= 0 ? fdtab[conn->t.sock.fd].state : 0,
|
conn->t.sock.fd >= 0 ? fdtab[conn->t.sock.fd].state : 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user