From 36d4b5e31dd872d8bc6bc309f24d0223fae3305d Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Fri, 1 Jul 2022 11:25:40 +0200 Subject: [PATCH] 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. --- src/mux_quic.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/mux_quic.c b/src/mux_quic.c index 0f85bbd8c..85fb620bf 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) {