]> git.kaiwu.me - haproxy.git/commit
MINOR: mux-quic: remove qcc_decode_qcs() call in XPRT
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 18 May 2022 09:38:22 +0000 (11:38 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 18 May 2022 13:50:57 +0000 (15:50 +0200)
commit3a0864067a72ebb6a1180c78b8b32869e74b9390
treee03e3c27573b6cef838627401c9627583906ad3e
parent37c2e4a65a3884c9928a7370397b1c03367db8f0
MINOR: mux-quic: remove qcc_decode_qcs() call in XPRT

Slightly change the interface for qcc_recv() between MUX and XPRT. The
MUX is now responsible to call qcc_decode_qcs(). This is cleaner as now
the XPRT does not have to deal with an extra QCS parameter and the MUX
will call qcc_decode_qcs() only if really needed.

This change is possible since there is no extra buffering for
out-of-order STREAM frames and the XPRT does not have to handle buffered
frames.
include/haproxy/mux_quic.h
src/mux_quic.c
src/xprt_quic.c