mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-03 02:32:03 +00:00
MINOR: mux-quic: Set tha SE abort reason when a STOP_SENDING frame is received
When STOP_SENDING frame is received for a quic stream, the error code is now saved in the SE abort reason. To do so, we use the QUIC source (SE_ABRT_SRC_MUX_QUIC). For now, this code is only set but not used on the opposite side.
This commit is contained in:
parent
20b156ee15
commit
367ce1ebf3
@ -1593,6 +1593,12 @@ int qcc_recv_stop_sending(struct qcc *qcc, uint64_t id, uint64_t err)
|
||||
qcs_alert(qcs);
|
||||
}
|
||||
|
||||
/* If not defined yet, set abort info for the sedesc */
|
||||
if (!qcs->sd->abort_info.info) {
|
||||
qcs->sd->abort_info.info = (SE_ABRT_SRC_MUX_QUIC << SE_ABRT_SRC_SHIFT);
|
||||
qcs->sd->abort_info.code = err;
|
||||
}
|
||||
|
||||
/* RFC 9000 3.5. Solicited State Transitions
|
||||
*
|
||||
* An endpoint that receives a STOP_SENDING frame
|
||||
|
Loading…
Reference in New Issue
Block a user