bind9/lib
Ondřej Surý 0e263b34c6 Pin the dns_dispatch to threads when reusing
Previously, dns_dispatch_gettcp() could pick a TCP connection created by
different thread - this breaks our contractual promise to DNS dispatch
by using the TCP connection on a different thread than it was created.
Add .tid member to the dns_dispatch_t struct and skip the dispatches
from other threads when looking up a TCP dispatch that we can reuse in
dns_request.

NOTE: This is going to be properly refactored, but this change could be
also backported to 9.18 for better stability and thread-affinity.

(cherry picked from commit 1a999353cd)
2023-01-05 10:20:47 +01:00
..
bind9 Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
dns Pin the dns_dispatch to threads when reusing 2023-01-05 10:20:47 +01:00
irs Move all the unit tests to /tests/<libname>/ 2022-05-31 12:06:00 +02:00
isc tlsctx_client_session_cache_new() -> tlsctx_client_session_create() 2022-12-23 13:58:14 +02:00
isccc Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
isccfg Deprecate alt-transfer-source and companions 2022-12-01 08:14:42 +01:00
ns Fix TLS session resumption via IDs when Mutual TLS is used 2022-12-14 18:32:26 +02:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00