Files
bind9/lib/dns
Ondřej Surý f213f644ed Add option to mark TCP dispatch as unshared
The current dispatch code could reuse the TCP connection when
dns_dispatch_gettcp() would be used first.  This is problematic as the
dns_resolver doesn't use TCP connection sharing, but dns_request could
get the TCP stream that was created outside of the dns_request.

Add new DNS_DISPATCHOPT_UNSHARED option to dns_dispatch_createtcp() that
would prevent the TCP stream to be reused.  Use that option in the
dns_resolver call to dns_dispatch_createtcp() to prevent dns_request
from reusing the TCP connections created by dns_resolver.

Additionally, the dns_xfrin unit added TCP connection sharing for
incoming transfers.  While interleaving *xfr streams on a TCP connection
should work this should be a deliberate change and be property of the
server that can be controlled.  Additionally some level of parallel TCP
streams is desirable.  Revert to the old behaviour by removing the
dns_dispatch_gettcp() calls from dns_xfrin and use the new option to
prevent from sharing the transfer streams with dns_request.
2023-10-24 13:07:03 +02:00
..
2023-10-13 14:44:40 +02:00
2023-10-23 08:21:39 +00:00
2023-09-12 16:14:10 +02:00
2023-08-31 22:08:35 +02:00
2023-08-31 22:08:35 +02:00
2023-08-09 23:48:17 +00:00
2023-08-02 11:16:50 +02:00
2023-10-10 16:57:18 +02:00
2023-09-12 16:14:10 +02:00
2023-10-13 09:57:28 +00:00
2023-09-12 16:14:10 +02:00
2023-07-17 14:50:25 +02:00
2023-08-31 22:08:35 +02:00
2023-08-31 22:08:35 +02:00
2023-10-09 13:29:02 -07:00
2023-08-31 22:08:35 +02:00
2023-10-13 14:44:40 +02:00
2023-08-15 14:25:24 +02:00