]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: doh3 fix a few review points
authorCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Mon, 4 Dec 2023 13:04:31 +0000 (14:04 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 8 Dec 2023 08:14:37 +0000 (09:14 +0100)
builder-support/specs/dnsdist.spec
pdns/dnsdistdist/docs/reference/config.rst
pdns/dnsdistdist/doq-common.hh

index 1893a10fcc4080dc09bb28ece28dbe6a102d6cb2..4cbb78b8999afab6af87b64ce34771fe290724d4 100644 (file)
@@ -103,6 +103,7 @@ export RANLIB=gcc-ranlib
 %endif
 %if 0%{?rhel} >= 8 || 0%{?amzn} == 2023
   --enable-dns-over-quic \
+  --enable-dns-over-http3 \
   --with-quiche \
 %endif
   PKG_CONFIG_PATH=/usr/lib/pkgconfig:/opt/lib64/pkgconfig
index 881d2bf68883b5fa8459669ce733e0830d6feb9f..cac4102344bb8128e50af5fc0308c62582fd19dc 100644 (file)
@@ -190,7 +190,7 @@ Listen Sockets
   * ``cpus={}``: table - Set the CPU affinity for this listener thread, asking the scheduler to run it on a single CPU id, or a set of CPU ids. This parameter is only available if the OS provides the pthread_setaffinity_np() function.
   * ``idleTimeout=5``: int - Set the idle timeout, in seconds.
   * ``internalPipeBufferSize=0``: int - Set the size in bytes of the internal buffer of the pipes used internally to pass queries and responses between threads. Requires support for ``F_SETPIPE_SZ`` which is present in Linux since 2.6.35. The actual size might be rounded up to a multiple of a page size. 0 means that the OS default size is used. The default value is 0, except on Linux where it is 1048576 since 1.6.0.
-  * ``maxInFlight=0``: int - Maximum number of in-flight queries. The default is 0, which disables out-of-order processing.
+  * ``maxInFlight=65535``: int - Maximum number of in-flight queries. The default is 0, which disables out-of-order processing.
   * ``congestionControlAlgo="reno"``: str - The congestion control algorithm to be chosen between ``reno``, ``cubic`` and ``bbr``.
   * ``keyLogFile``: str - Write the TLS keys in the specified file so that an external program can decrypt TLS exchanges, in the format described in https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format.
 
@@ -213,7 +213,7 @@ Listen Sockets
   * ``cpus={}``: table - Set the CPU affinity for this listener thread, asking the scheduler to run it on a single CPU id, or a set of CPU ids. This parameter is only available if the OS provides the pthread_setaffinity_np() function.
   * ``idleTimeout=5``: int - Set the idle timeout, in seconds.
   * ``internalPipeBufferSize=0``: int - Set the size in bytes of the internal buffer of the pipes used internally to pass queries and responses between threads. Requires support for ``F_SETPIPE_SZ`` which is present in Linux since 2.6.35. The actual size might be rounded up to a multiple of a page size. 0 means that the OS default size is used. The default value is 0, except on Linux where it is 1048576 since 1.6.0.
-  * ``maxInFlight=0``: int - Maximum number of in-flight queries. The default is 0, which disables out-of-order processing.
+  * ``maxInFlight=65535``: int - Maximum number of in-flight queries. The default is 0, which disables out-of-order processing.
   * ``congestionControlAlgo="reno"``: str - The congestion control algorithm to be chosen between ``reno``, ``cubic`` and ``bbr``.
   * ``keyLogFile``: str - Write the TLS keys in the specified file so that an external program can decrypt TLS exchanges, in the format described in https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Key_Log_Format.
 
index 6fac2a3a81483672469c439cf84829bd314530e8..c8064a86069e95915f6798485d8d21373c097b4e 100644 (file)
@@ -46,7 +46,7 @@
 namespace dnsdist::doq
 {
 
-static std::map<const std::string, int> s_available_cc_algorithms = {
+static const std::map<const std::string, int> s_available_cc_algorithms = {
   {"reno", QUICHE_CC_RENO},
   {"cubic", QUICHE_CC_CUBIC},
   {"bbr", QUICHE_CC_BBR},