]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: mux-quic: correct qcc_bufwnd_full() documentation
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 23 Aug 2024 13:26:54 +0000 (15:26 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 23 Aug 2024 14:25:04 +0000 (16:25 +0200)
Fix returned value domment of qcc_bufwnd_full() which was incorrect.

src/mux_quic.c

index c1855de076bbfa0832abc5007412a0989a552319..78baccb8256f14573e8c6c9142eb4605d07a1e8a 100644 (file)
@@ -524,7 +524,7 @@ void qcs_notify_send(struct qcs *qcs)
        }
 }
 
-/* Returns true if a Tx stream buffer can be allocated. */
+/* Returns true if <qcc> buffer window does not have room for a new buffer. */
 static inline int qcc_bufwnd_full(const struct qcc *qcc)
 {
        const struct quic_conn *qc = qcc->conn->handle.qc;