From 7f5bbb8b387fcc7472e5aaa3692b651cdb459406 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 2 Feb 2026 15:27:03 +0100 Subject: [PATCH] dnsdist: Add a regression test for the `bbr` congestion algo removed by Quiche Signed-off-by: Remi Gacogne --- regression-tests.dnsdist/test_DOQ.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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' -- 2.47.3