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.
This commit is contained in:
Amaury Denoyelle 2022-07-01 11:25:40 +02:00
parent 649b3fd9aa
commit 36d4b5e31d

View 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)
{