]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: add GSO parameter on quic_sock send API
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 28 May 2024 13:04:45 +0000 (15:04 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 11 Jul 2024 09:02:44 +0000 (11:02 +0200)
commit448d3d388abf29f5e6b2b453fc235d157a875240
tree484d2e68aa8ff4ab59b6e9679c04748409b33d8a
parent96a34d79d9a4497bf738d708f1197402e3a25f7e
MINOR: quic: add GSO parameter on quic_sock send API

Add <gso_size> parameter to qc_snd_buf(). When non-null, this specifies
the value for socket option SOL_UDP/UDP_SEGMENT. This allows to send
several datagrams in a single call by splitting data multiple times at
<gso_size> boundary.

For now, <gso_size> remains set to 0 by caller, as such there should not
be any functional change.
include/haproxy/quic_sock.h
src/quic_conn.c
src/quic_sock.c
src/quic_tx.c