mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
BUG/MINOR: quic: mux started when releasing quic_conn
There are cases where the mux is started before the handshake is completed: during 0-RTT sessions. So, it was a bad idea to try to release the quic_conn object from quic_conn_io_cb() without checking if the mux is started. No need to backport.
This commit is contained in:
parent
54cafa908d
commit
1ab6126ca7
@ -970,7 +970,7 @@ struct task *quic_conn_io_cb(struct task *t, void *context, unsigned int state)
|
||||
quic_nictx_free(qc);
|
||||
}
|
||||
|
||||
if (qc->flags & QUIC_FL_CONN_CLOSING) {
|
||||
if ((qc->flags & QUIC_FL_CONN_CLOSING) && qc->mux_state != QC_MUX_READY) {
|
||||
quic_conn_release(qc);
|
||||
qc = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user