]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: fix return of quic_dgram_read
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 11 Jan 2022 13:20:46 +0000 (14:20 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 12 Jan 2022 10:08:48 +0000 (11:08 +0100)
commitce340fe4a72d987c95602e8c57a40dd5c6658b05
tree58d8b596b2361be8fc2332ee01cd3deb368e82ca
parent1aa57d32bbe2f4bb8d1af4de4ff8777afcfafd7b
MINOR: quic: fix return of quic_dgram_read

It is expected that quic_dgram_read() returns the total number of bytes
read. Fix the return value when the read has been successful. This bug
has no impact as in the end the return value is not checked by the
caller.
src/xprt_quic.c