]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: quic: clarify doc for quic_recv()
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 22 May 2024 13:58:43 +0000 (15:58 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 24 May 2024 12:36:31 +0000 (14:36 +0200)
Just highlight the fact that quic_recv() only receive a single datagram.

src/quic_sock.c

index b21fe8cac8a4b714714c0a3be5ffb501fcbe2406..a3f37684ef5903569b7a45bd8c9e7e7de99cf064 100644 (file)
@@ -338,8 +338,8 @@ static struct quic_dgram *quic_rxbuf_purge_dgrams(struct quic_receiver_buf *rbuf
        return prev;
 }
 
-/* Receive data from datagram socket <fd>. Data are placed in <out> buffer of
- * length <len>.
+/* Receive a single message from datagram socket <fd>. Data are placed in <out>
+ * buffer of length <len>.
  *
  * Datagram addresses will be returned via the next arguments. <from> will be
  * the peer address and <to> the reception one. Note that <to> can only be