]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: quic: set listener accept cb on parsing
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Tue, 18 Jan 2022 14:39:02 +0000 (15:39 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 24 Jan 2022 09:30:49 +0000 (10:30 +0100)
commit57af069571fc8ad74384ffba7861b99b69a740aa
tree58dde93dfff948dfdc47069bc8e7f65eebd7d438
parent29632b8b10b679446b81698148b2fdc5499830af
MINOR: quic: set listener accept cb on parsing

Define a special accept cb for QUIC listeners to quic_session_accept().
This operation is conducted during the proto.add callback when creating
listeners.

A special care is now taken care when setting the standard callback
session_accept_fd() to not overwrite if already defined by the proto
layer.
include/haproxy/quic_sock.h
src/cfgparse.c
src/proto_quic.c
src/quic_sock.c