mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-21 13:51:26 +02:00
MINOR: mux-h2: implement MUX_CTL_GET_GLITCHES
This reports the number of glitches on a connection.
This commit is contained in:
parent
a3d6af6a0f
commit
d2b44fd730
@ -4623,6 +4623,9 @@ static int h2_ctl(struct connection *conn, enum mux_ctl_type mux_ctl, void *outp
|
|||||||
tasklet_wakeup(h2c->wait_event.tasklet);
|
tasklet_wakeup(h2c->wait_event.tasklet);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
case MUX_CTL_GET_GLITCHES:
|
||||||
|
return h2c->glitches;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user