mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
MINOR: quic: Add traces to congestion avoidance NewReno callback.
These traces are missing and are useful do diagnose issue in the congestion avoidance callback for NewReno algorithm.
This commit is contained in:
parent
0c14020f11
commit
26c49d9eb0
@ -80,7 +80,7 @@ static void quic_cc_nr_ca_cb(struct quic_cc *cc, struct quic_cc_event *ev)
|
|||||||
{
|
{
|
||||||
struct quic_path *path;
|
struct quic_path *path;
|
||||||
|
|
||||||
TRACE_ENTER(QUIC_EV_CONN_CC, cc->qc->conn);
|
TRACE_ENTER(QUIC_EV_CONN_CC, cc->qc->conn, ev);
|
||||||
path = container_of(cc, struct quic_path, cc);
|
path = container_of(cc, struct quic_path, cc);
|
||||||
switch (ev->type) {
|
switch (ev->type) {
|
||||||
case QUIC_CC_EVT_ACK:
|
case QUIC_CC_EVT_ACK:
|
||||||
@ -121,7 +121,7 @@ static void quic_cc_nr_ca_cb(struct quic_cc *cc, struct quic_cc_event *ev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
out:
|
out:
|
||||||
TRACE_LEAVE(QUIC_EV_CONN_CC, cc->qc->conn);
|
TRACE_LEAVE(QUIC_EV_CONN_CC, cc->qc->conn, NULL, cc);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void quic_cc_nr_state_trace(struct buffer *buf, const struct quic_cc *cc)
|
static void quic_cc_nr_state_trace(struct buffer *buf, const struct quic_cc *cc)
|
||||||
|
Loading…
Reference in New Issue
Block a user