]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Handle Quiche >= 0.22.0 14450/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 27 Jun 2024 14:07:20 +0000 (16:07 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 9 Jul 2024 09:26:49 +0000 (11:26 +0200)
commitb1b0432e0ba3598cc2efe5c93e765d262886d745
tree7de326794a27163637a5b3d8fdd15bd91e603ab0
parent07036a7dc0ac8c1e9180b13be770d24f4c398133
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.

(cherry picked from commit e15b9be22b119ca3ab2d717c34d282f4e02b8cbe)
pdns/dnsdistdist/doq.cc
pdns/dnsdistdist/m4/pdns_with_quiche.m4