head 1.2; access; symbols; locks; strict; comment @// @; 1.2 date 2026.05.25.14.06.09; author wiz; state dead; branches; next 1.1; commitid FgDxJiFOziSjAcHG; 1.1 date 2026.05.15.09.15.48; author adam; state Exp; branches; next ; commitid hjlUbFmpNQFQiTFG; desc @@ 1.2 log @net/dnsdist: Update to version 2.0.6 From Marcin Gondek via wip. Improvements Fix clang-tidy warnings Also apply UDP socket buffer sizes to backend sockets Make code boost-1.91 compatible Bug Fixes Check the DoQ query size against the received size Fix outgoing TLS session cache cleanup Compute a less inaccurate number of DNS records to pass to reserve() Maintain a "current size of received body" counter. Fix the dynamic block top suffixes counters computation snmp-agent: Fix a memory leak Fix XSK configuration via YAML Ignore invalid backend weight coming from YAML Bail out when a NULL pointer is passed to dnsdist_ffi_dnsquestion_get_proxy_protocol_values Fix BPFFilter::addRangeRule Fix DownstreamState::setHealthCheckParams Fix a data race on concurrent CDB KVS lookups Fix a few issues in our AF_XDP/XSK code Fixes several eBPF issues Better handling of exceptions Fix two small EDNS addition related bugs More minor fixes Keep concurrent connection entries for live connections Fix invalid TCP rate limiting computation @ text @$NetBSD: patch-dnsdist-lua.cc,v 1.1 2026/05/15 09:15:48 adam Exp $ Fix build with boost 1.91.0. --- dnsdist-lua.cc.orig 2026-04-22 17:37:43.000000000 +0000 +++ dnsdist-lua.cc @@@@ -3084,7 +3084,7 @@@@ static void setupLuaConfig(LuaContext& l customName = std::optional(*optCustomName); } if (!customName) { - boost::optional vars = {boost::get(opts.get())}; + boost::optional vars{boost::get(opts.get())}; getOptionalValue(vars, "customName", customName); getOptionalValue(vars, "withLabels", withLabels); checkAllParametersConsumed("declareMetric", vars); @@@@ -3107,7 +3107,7 @@@@ static void setupLuaConfig(LuaContext& l step = *custom_step; } else { - boost::optional vars = {boost::get(incOpts)}; + boost::optional vars{boost::get(incOpts)}; getOptionalValue(vars, "step", step); getOptionalValue>(vars, "labels", labels); checkAllParametersConsumed("incMetric", vars); @@@@ -3129,7 +3129,7 @@@@ static void setupLuaConfig(LuaContext& l step = *custom_step; } else { - boost::optional vars = {boost::get(decOpts)}; + boost::optional vars{boost::get(decOpts)}; getOptionalValue(vars, "step", step); getOptionalValue>(vars, "labels", labels); checkAllParametersConsumed("decMetric", vars); @ 1.1 log @dnsdist: fix build with boost 1.91.0 @ text @d1 1 a1 1 $NetBSD$ @