mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-15 03:32:17 +02:00
BUG/MAJOR: quic: remove qc from receiver cids tree on free
Remove the quic_conn from the receiver connection_ids tree on quic_conn_free. This fixes a crash due to dangling references in the tree after a quic connection release. This operation must be conducted under the listener lock. For this reason, the quic_conn now contains a reference to its attached listener.
This commit is contained in:
@@ -657,6 +657,7 @@ struct quic_conn {
|
||||
struct quic_path paths[1];
|
||||
struct quic_path *path;
|
||||
|
||||
struct listener *li; /* only valid for frontend connections */
|
||||
/* MUX */
|
||||
struct qcc *qcc;
|
||||
struct task *timer_task;
|
||||
|
||||
Reference in New Issue
Block a user