diff --git a/include/haproxy/quic_conn-t.h b/include/haproxy/quic_conn-t.h index cbf3f686a..79f806e06 100644 --- a/include/haproxy/quic_conn-t.h +++ b/include/haproxy/quic_conn-t.h @@ -224,6 +224,7 @@ enum quic_pkt_type { #define QUIC_EV_CONN_SUB (1ULL << 46) #define QUIC_EV_CONN_ELEVELSEL (1ULL << 47) #define QUIC_EV_CONN_RCV (1ULL << 48) +#define QUIC_EV_CONN_KILL (1ULL << 49) /* Similar to kernel min()/max() definitions. */ #define QUIC_MIN(a, b) ({ \ diff --git a/src/quic_conn.c b/src/quic_conn.c index 5b9d5a327..0de12f354 100644 --- a/src/quic_conn.c +++ b/src/quic_conn.c @@ -738,8 +738,10 @@ static inline int quic_peer_validated_addr(struct quic_conn *qc) /* To be called to kill a connection as soon as possible (without sending any packet). */ void qc_kill_conn(struct quic_conn *qc) { + TRACE_ENTER(QUIC_EV_CONN_KILL, qc); qc->flags |= QUIC_FL_CONN_TO_KILL; task_wakeup(qc->idle_timer_task, TASK_WOKEN_OTHER); + TRACE_LEAVE(QUIC_EV_CONN_KILL, qc); } /* Set the timer attached to the QUIC connection with as I/O handler and used for