]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Handle Quiche >= 0.22.0 14392/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 27 Jun 2024 14:07:20 +0000 (16:07 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 27 Jun 2024 14:07:20 +0000 (16:07 +0200)
commite15b9be22b119ca3ab2d717c34d282f4e02b8cbe
tree14158abec70c73bf162c845578d19f3ddc47526f
parent419829f8f4c5241a58409da476bff07bf0987482
dnsdist: Handle Quiche >= 0.22.0

Quiche broke its existing API in 0.22.0: https://github.com/cloudflare/quiche/pull/1726
This pull request adds m4 code to detect whether the Quiche version
we are building against is >= 0.22.0, and if it is defines
`HAVE_QUICHE_STREAM_ERROR_CODES` which is later used by the code
using Quiche to know which version of the API to use.
pdns/dnsdistdist/doq.cc
pdns/dnsdistdist/m4/pdns_with_quiche.m4