From: Remi Gacogne Date: Mon, 2 Feb 2026 14:27:03 +0000 (+0100) Subject: dnsdist: Add a regression test for the `bbr` congestion algo removed by Quiche X-Git-Tag: rec-5.5.0-alpha0~39^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16802%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Add a regression test for the `bbr` congestion algo removed by Quiche Signed-off-by: Remi Gacogne --- diff --git a/regression-tests.dnsdist/test_DOQ.py b/regression-tests.dnsdist/test_DOQ.py index 7804b91bb8..e0a2f01e86 100644 --- a/regression-tests.dnsdist/test_DOQ.py +++ b/regression-tests.dnsdist/test_DOQ.py @@ -129,6 +129,24 @@ class TestDOQWithCache(DOQCommon, QUICWithCacheTests, DNSDistTest): """ _config_params = ['_testServerPort', '_doqServerPort','_serverCert', '_serverKey'] +class TestDOQWithCacheAndBBR(DOQCommon, QUICWithCacheTests, DNSDistTest): + _serverKey = 'server.key' + _serverCert = 'server.chain' + _serverName = 'tls.tests.dnsdist.org' + _caCert = 'ca.pem' + _doqServerPort = pickAvailablePort() + _config_template = """ + newServer{address="127.0.0.1:%d"} + + -- As of Quiche 0.24.7 BBR is no longer supported, but we should not choke on it + -- see https://github.com/cloudflare/quiche/issues/2342 + addDOQLocal("127.0.0.1:%d", "%s", "%s", {congestionControlAlgo="bbr"}) + + pc = newPacketCache(100, {maxTTL=86400, minTTL=1}) + getPool(""):setCache(pc) + """ + _config_params = ['_testServerPort', '_doqServerPort','_serverCert', '_serverKey'] + class TestDOQWithACL(DOQCommon, QUICACLTests, DNSDistTest): _serverKey = 'server.key' _serverCert = 'server.chain'