]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: mux-quic: adjust comment on qcs_consume()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 1 Jul 2022 09:25:40 +0000 (11:25 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 1 Jul 2022 12:46:24 +0000 (14:46 +0200)
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

index 0f85bbd8c9db329bfe06881acbc112dc447ec768..85fb620bfc52a14fcaeec266afb91096cdb3022a 100644 (file)
@@ -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 <bytes> from <qcs> 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 <bytes> from <qcs> 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)
 {