BUG/MINOR: mux-quic: Missing I/O handler events initialization

This could lead to a mux erratic behavior. Sometimes the application layer could
not wakeup the mux I/O handler because it estimated it had already subscribed
to write events (see h3_snd_buf() end of implementation).
This commit is contained in:
Frédéric Lécaille 2022-03-18 22:49:22 +01:00 committed by Amaury Denoyelle
parent 4e22f28feb
commit f27b66faee

View File

@ -745,6 +745,7 @@ static int qc_init(struct connection *conn, struct proxy *prx,
qcc->subs = NULL;
qcc->wait_event.tasklet->process = qc_io_cb;
qcc->wait_event.tasklet->context = qcc;
qcc->wait_event.events = 0;
/* haproxy timeouts */
qcc->timeout = prx->timeout.client;