Merging upstream version 2.12.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 09:08:15 +01:00
parent 8ce9b70a48
commit 31166912ef
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
9 changed files with 233 additions and 28 deletions

36
CHANGES
View file

@ -1,3 +1,39 @@
2023-05-21 Jerry Lundström
Release 2.12.0
This release fixes a segfault when doing DNS-over-HTTPS and changes the
way maximum queries per second are handled.
The DNS-over-HTTPS module handled reconnecting incorrectly and destroyed
the nghttp2 context during callbacks. Thanks to the help from
@kgillis2000 it was quickly found and fixed.
The way maximum QPS is handled has been changed by Petr Špaček @pspacek
(ISC). The new way solves an over-shoot problem that happened due to
max QPS being counted for the whole runtime and based on completed
queries, not just sent.
A new option `qps_threshold_wait` has also been added. This controls
the threshold for using `nanosleep()` between sending packet and the
default is measured on start-up. If the time between packets, based on
max QPS `-Q`, is smaller then no sleep will be performed. This improves
performance when doing high max QPS limiting.
Other changes:
- `dnsperf`: Statistics output
- Fixed missing connection statistics if only reconnections happened
- Flush output to allow pipe/grep processing
- Add percentage on reconnections based on total connections
- Support OpenSSL 3.0+
9aca046 OpenSSL 3.0
6d3d6b4 Stats, DoH
316f901 qps_threshold_wait
ed52770 WIP: use busy wait only if necessary
32229b6 WIP: import nanosleep benchmark
1842b88 Fix dnsperf -Q to not overshot target value
2023-03-16 Jerry Lundström
Release 2.11.2