mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05:00
MINOR: mux-h1: Add the subscription events in "show fd" command
It could be helpful to debug frozen connections. The patch may be backported to 1.9.
This commit is contained in:
parent
224a2d705a
commit
f376a31562
1 changed files with 2 additions and 2 deletions
|
|
@ -2314,8 +2314,8 @@ static void h1_show_fd(struct buffer *msg, struct connection *conn)
|
|||
struct h1c *h1c = conn->ctx;
|
||||
struct h1s *h1s = h1c->h1s;
|
||||
|
||||
chunk_appendf(msg, " h1c.flg=0x%x .ibuf=%u@%p+%u/%u .obuf=%u@%p+%u/%u",
|
||||
h1c->flags,
|
||||
chunk_appendf(msg, " h1c.flg=0x%x .sub=%d .ibuf=%u@%p+%u/%u .obuf=%u@%p+%u/%u",
|
||||
h1c->flags, h1c->wait_event.events,
|
||||
(unsigned int)b_data(&h1c->ibuf), b_orig(&h1c->ibuf),
|
||||
(unsigned int)b_head_ofs(&h1c->ibuf), (unsigned int)b_size(&h1c->ibuf),
|
||||
(unsigned int)b_data(&h1c->obuf), b_orig(&h1c->obuf),
|
||||
|
|
|
|||
Loading…
Reference in a new issue