]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: h3: add documentation on h3_decode_qcs
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 15 Feb 2022 10:05:46 +0000 (11:05 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 15 Feb 2022 16:08:32 +0000 (17:08 +0100)
Specify the purpose of the fin argument on h3_decode_qcs.

src/h3.c

index 85eca90d7df0a4ff4e42594b91f390af5e2cf26a..987dc053ba683ff7090bd459562d48faf1eb6d5a 100644 (file)
--- a/src/h3.c
+++ b/src/h3.c
@@ -93,7 +93,8 @@ static inline size_t h3_decode_frm_header(uint64_t *ftype, uint64_t *flen,
        return hlen;
 }
 
-/* Decode <qcs> remotely initiated bidi-stream.
+/* Decode <qcs> remotely initiated bidi-stream. <fin> must be set to indicate
+ * that we received the last data of the stream.
  * Returns <0 on error else 0.
  */
 static int h3_decode_qcs(struct qcs *qcs, int fin, void *ctx)