]> git.ipfire.org Git - thirdparty/pdns.git/commit
Give TCP thread for DoQ and DoH3
authorRon Lauren Hombre <118486316+ronhombre@users.noreply.github.com>
Sun, 5 Apr 2026 17:42:22 +0000 (01:42 +0800)
committerGitHub <noreply@github.com>
Sun, 5 Apr 2026 17:42:22 +0000 (01:42 +0800)
commitb5673adbbe3b47d3f9dea5aca3288cedc41946ea
treefe083da81358d3bcf66e10a25982a166af8abf37
parent18927c2ad67a42f543f45a56891ee7979a05f8b7
Give TCP thread for DoQ and DoH3

On OpenWRT, the dnsdist implementation isn't normally built with DoQ and DoH3 due to the lack of quiche support. However, when it is enabled and queried through QUIC, dnsdist sees that the connection we have is too big and goes out of its way to try to use TCP to make that request upstream when using PROXYv2.

This fixes that by checking if DoQ or DoH3 are enabled so that in certain configurations with only DoQ or DoH3 enabled, a TCP thread is given to the internal client.

Signed-off-by: Ron Lauren Hombre <118486316+ronhombre@users.noreply.github.com>
pdns/dnsdistdist/dnsdist.cc