mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
BUG/MINOR: quic: Do not check the acception of a new conn from I/O handler.
As the ->conn member of quic_conn struct is reset to NULL value by the ->accept callback potentially run by another thread, this check is irrelevant.
This commit is contained in:
parent
ecb5872012
commit
de935f34e5
@ -3267,11 +3267,6 @@ static ssize_t qc_lstnr_pkt_rcv(unsigned char **buf, const unsigned char *end,
|
||||
LIST_APPEND(&l->rx.qpkts, &pkt->rx_list);
|
||||
/* Try to accept a new connection. */
|
||||
listener_accept(l);
|
||||
if (!qc->conn) {
|
||||
TRACE_PROTO("Non accepted connection", QUIC_EV_CONN_LPKT, qc->conn);
|
||||
goto err;
|
||||
}
|
||||
|
||||
if (!quic_conn_init_timer(qc)) {
|
||||
TRACE_PROTO("Non initialized timer", QUIC_EV_CONN_LPKT, qc->conn);
|
||||
goto err;
|
||||
|
Loading…
x
Reference in New Issue
Block a user