bind9/bin
Aram Sargsyan ca966c396a Don't ignore the local port number in dns_dispatch_add() for TCP
The dns_dispatch_add() function registers the 'resp' entry in
'disp->mgr->qids' hash table with 'resp->port' being 0, but in
tcp_recv_success(), when looking up an entry in the hash table
after a successfully received data the port is used, so if the
local port was set (i.e. it was not 0) it fails to find the
entry and results in an unexpected error.

Set the 'resp->port' to the given local port value extracted from
'disp->local'.

(cherry picked from commit d49a8f518a)
2024-10-02 09:53:45 +00:00
..
check Fix assertion failure when checking named-checkconf version 2024-08-05 11:12:05 +00:00
confgen Remove isc__tls_setfatalmode() function and the calls 2024-02-08 08:01:58 +01:00
delv add +restarts and +maxqueries options to delv 2024-08-07 21:12:34 +00:00
dig Dig now reports a missing question section 2024-08-07 13:20:27 +02:00
dnssec Remove 'statslock' from dnssec-signzone 2024-09-16 02:52:38 +00:00
named Reduce code duplication 2024-09-30 00:10:47 +00:00
nsupdate complete removal of isc_loop_current() 2024-04-02 10:35:56 +02:00
plugins Remove 'inst != NULL' from cleanup check in plugin_register 2023-04-04 23:51:22 +00:00
rndc Log the rcode returned to for a query 2024-09-30 00:10:47 +00:00
tests Don't ignore the local port number in dns_dispatch_add() for TCP 2024-10-02 09:53:45 +00:00
tools Change the NS_PER_SEC (and friends) from enum to static const 2024-08-19 09:10:04 +00:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00