mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-15 20:03:33 -04:00
MINOR: mux_quic: add minimal traces for QUIC MUX init/release
Add user traces in qcm_init() and qcc_release(). This is useful to be able to quickly account connection allocation/release without using the developer trace level.
This commit is contained in:
parent
ea54d3fd1b
commit
8288e68f44
1 changed files with 2 additions and 0 deletions
|
|
@ -3676,6 +3676,7 @@ static void qcc_release(struct qcc *qcc)
|
|||
offer_buffers(NULL, 2);
|
||||
}
|
||||
|
||||
TRACE_USER("release mux", QMUX_EV_QCC_END, conn);
|
||||
pool_free(pool_head_qcc, qcc);
|
||||
|
||||
if (conn) {
|
||||
|
|
@ -4144,6 +4145,7 @@ static int qcm_init(struct connection *conn, struct proxy *prx,
|
|||
qcc->tot_sc++;
|
||||
}
|
||||
|
||||
TRACE_USER("init mux", QMUX_EV_QCC_NEW, conn);
|
||||
TRACE_LEAVE(QMUX_EV_QCC_NEW, conn);
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue