bind9/lib/isc/netmgr
Colin Vidal 8cdb1d71ad attach socket before async streamdns_resume_processing
Call to `streamdns_resume_processing` is asynchronous but the socket
passed as argument is not attached when scheduling the call.

While there is no reproducible way (so far) to make the socket reference
number down to 0 before `streamdns_resume_processing` is called, attach
the socket before scheduling the call. This guard against an hypothetic
case where, for some reasons, the socket refcount would reach 0, and be
freed from memory when `streamdns_resume_processing` is called.

(cherry picked from commit 7c8b517d56)
2025-11-20 17:55:00 +00:00
..
http.c Use SET_IF_NOT_NULL in isc__nm_base64* 2025-10-22 11:30:33 +00:00
netmgr-int.h DoH: process data chunk by chunk instead of all at once 2025-01-15 16:05:13 +01:00
netmgr.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
proxystream.c Do not stop timer in isc_nm_read_stop() in manual timer mode 2025-01-15 16:05:56 +01:00
proxyudp.c Use clang-format-20 to update formatting 2025-06-25 13:32:08 +10:00
socket.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
streamdns.c attach socket before async streamdns_resume_processing 2025-11-20 17:55:00 +00:00
tcp.c Do not stop timer in isc_nm_read_stop() in manual timer mode 2025-01-15 16:05:56 +01:00
timer.c Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
tlsstream.c Do not stop timer in isc_nm_read_stop() in manual timer mode 2025-01-15 16:05:56 +01:00
udp.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00