mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 23:56:57 +02:00
CLEANUP: mux-quic: remove dead err label in qcc_build_frms()
STREAM frames emission in qcc_build_frms() has been splitted from RESET_STREAM/STOP_SENDING into qcc_emit_rs_ss(). Now, the former cannot fail, as such err label can be removed as it is unreachable. This should be backported up to 3.1. This should fix github issue #2824.
This commit is contained in:
parent
7edb2ffae7
commit
4490df57a6
@ -2443,11 +2443,6 @@ static int qcc_build_frms(struct qcc *qcc, struct list *qcs_failed)
|
|||||||
|
|
||||||
TRACE_LEAVE(QMUX_EV_QCC_SEND, qcc->conn);
|
TRACE_LEAVE(QMUX_EV_QCC_SEND, qcc->conn);
|
||||||
return total;
|
return total;
|
||||||
|
|
||||||
err:
|
|
||||||
qcc_clear_frms(qcc);
|
|
||||||
TRACE_DEVEL("leaving on error", QMUX_EV_QCC_SEND, qcc->conn);
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Proceed to sending. Loop through all available streams for the <qcc>
|
/* Proceed to sending. Loop through all available streams for the <qcc>
|
||||||
|
Loading…
Reference in New Issue
Block a user