From: Amaury Denoyelle Date: Fri, 1 Jul 2022 09:25:40 +0000 (+0200) Subject: CLEANUP: mux-quic: adjust comment on qcs_consume() X-Git-Tag: v2.7-dev2~165 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=36d4b5e31dd872d8bc6bc309f24d0223fae3305d;p=thirdparty%2Fhaproxy.git CLEANUP: mux-quic: adjust comment on qcs_consume() Since a previous refactoring, application protocol layer is not require anymore to call qcs_consume(). This function is now automatically used by the MUX itself. --- diff --git a/src/mux_quic.c b/src/mux_quic.c index 0f85bbd8c9..85fb620bfc 100644 --- a/src/mux_quic.c +++ b/src/mux_quic.c @@ -380,9 +380,8 @@ static inline struct buffer qcs_b_dup(const struct ncbuf *b) return b_make(ncb_orig(b), b->size, b->head, ncb_data(b, 0)); } -/* Remove from Rx buffer. This must be called by transcoders - * after STREAM parsing. Flow-control for received offsets may be allocated for - * the peer if needed. +/* Remove from Rx buffer. Flow-control for received offsets may + * be allocated for the peer if needed. */ static void qcs_consume(struct qcs *qcs, uint64_t bytes) {