bind9/lib/isc/netmgr
Matthijs Mekking 90fbe91997 Fix nsupdate hang when processing a large update
The root cause is the fix for CVE-2024-0760 (part 3), which resets
the TCP connection on a failed send. Specifically commit
4b7c6138 stops reading on the socket
because the TCP connection is throttling.

When the tcpdns_send_cb callback thinks about restarting reading
on the socket, this fails because the socket is a client socket.
And nsupdate is a client and is using the same netmgr code.

This commit removes the requirement that the socket must be a server
socket, allowing reading on the socket again after being throttled.

(manually picked from commit aa24b77d8b)
2024-12-06 09:26:40 +00:00
..
http.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
netmgr-int.h Don't enable SO_REUSEADDR on outgoing UDP sockets 2024-10-02 15:20:28 +02:00
netmgr.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
tcp.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
tcpdns.c Fix nsupdate hang when processing a large update 2024-12-06 09:26:40 +00:00
timer.c Change single write timer to per-send timers 2022-03-11 10:52:22 +01:00
tlsdns.c Fix nsupdate hang when processing a large update 2024-12-06 09:26:40 +00:00
tlsstream.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
udp.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
uv-compat.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
uv-compat.h Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
uverr2result.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00