From: Amaury Denoyelle Date: Tue, 29 Sep 2026 09:27:41 +0000 (+0200) Subject: BUG/MEDIUM: mux_quic: notify stream on RESET_STREAM reception X-Git-Tag: v3.5-dev9~174 X-Git-Url: https://git.kaiwu.me/?a=commitdiff_plain;h=2b270877393b98b7b2077447d98ba9be29874027;p=haproxy.git BUG/MEDIUM: mux_quic: notify stream on RESET_STREAM reception Always notify upper stream layer when a RESET_STREAM is received. This is necessary as reset will be reported during rcv_buf callback. Without this patch, reset won't be reported if stream is already subscribed. This may result in a stream freeze, until its close on timeout. This should be backported up to 2.8, after a period of observation. --- diff --git a/src/mux_quic.c b/src/mux_quic.c index 996904d14..de443a568 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -2434,6 +2434,10 @@ int qcc_recv_reset_stream(struct qcc *qcc, uint64_t id, uint64_t err, uint64_t f LIST_APPEND(&qcs->qcc->purg_list, &qcs->el_send); tasklet_wakeup(qcs->qcc->wait_event.tasklet); } + else { + /* Wake-up upper stream layer to notify about reset on read. */ + qcs_alert(qcs); + } out: if (qcc->glitches != prev_glitches && !(qcc->flags & QC_CF_IS_BACK))