]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: allocate a socket per quic-conn
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 24 Oct 2022 15:08:43 +0000 (17:08 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 2 Dec 2022 13:45:43 +0000 (14:45 +0100)
commit40909dfec51e8429f78f1183b0886257e9d836e3
tree2d3f9d2ad09a21a73ea670ac4d91755c5c1ea8d7
parent511ddd5785266c149dfa593582512239480e1688
MINOR: quic: allocate a socket per quic-conn

Allocate quic-conn owned socket if possible. This requires that this is
activated in haproxy configuration. Also, this is done only if local
address is known so it depends on the support of IP_PKTINFO.

For the moment this socket is not used. This causes QUIC support to be
broken as received datagram are not read. This commit will be completed
by a following patch to support recv operation on the newly allocated
socket.

This change is part of quic-conn owned socket implementation.
It may be backported to 2.7 after a period of observation.
include/haproxy/quic_conn-t.h
include/haproxy/quic_sock.h
src/quic_conn.c
src/quic_sock.c