]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: Redefine control layer callbacks which are QUIC specific.
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 6 Nov 2020 14:49:49 +0000 (15:49 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Dec 2020 10:57:26 +0000 (11:57 +0100)
commit70da889d57051134d2c9536bf5aa66637432e664
treee210a6610c19698dac635a3a4ff339b065ff07f4
parent72f7cb170ab059642ab6cd24b04452edd0a96f1e
MINOR: quic: Redefine control layer callbacks which are QUIC specific.

We add src/quic_sock.c QUIC specific socket management functions as callbacks
for the control layer: ->accept_conn, ->default_iocb and ->rx_listening.
accept_conn() will have to be defined. The default I/O handler only recvfrom()
the datagrams received. Furthermore, ->rx_listening callback always returns 1 at
this time but should returns 0 when reloading the processus.
include/haproxy/quic_sock.h [new file with mode: 0644]
src/proto_quic.c
src/quic_sock.c [new file with mode: 0644]