MEDIUM: quic: send version negotiation packet on unknown version
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Wed, 10 Nov 2021 14:17:56 +0000 (15:17 +0100)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 18 Nov 2021 09:50:58 +0000 (10:50 +0100)
commita22d860406cd4274fb54fce14d57ed864fb006cb
tree051d9b4231b595c1b8cd0bf5e30d91a2e13fb98c
parent154bc7f8640824f999378cb40f73bac4b0d7e1f5
MEDIUM: quic: send version negotiation packet on unknown version

If the client announced a QUIC version not supported by haproxy, emit a
Version Negotiation Packet, according to RFC9000 6. Version Negotiation.

This is required to be able to use the framework for QUIC interop
testing from https://github.com/marten-seemann/quic-interop-runner. The
simulator checks that the server is available by sending packets to
force the emission of a Version Negotiation Packet.
src/xprt_quic.c