bind9/lib/isc/netmgr
Artem Boldariev 034b5febb1 DoT: remove TLS-related kludge in isc__nmsocket_connecttimeout_cb()
This commit ensures that 'sock->tls.pending_req' is not getting
nullified during TLS connection timeout callback as it prevents the
connection callback being called when connecting was not successful.

We expect 'isc__nm_failed_connect_cb() to be called from
'isc__nm_tlsdns_shutdown()' when establishing connections was
successful, but with 'sock->tls.pending_req' nullified that will not
happen.

The code removed most likely was required in older iterations of the
NM, but to me it seems that now it does only harm. One of the well
know pronounced effects is leading to irrecoverable zone transfer
hangs via TLS.
2023-03-14 18:49:29 +02:00
..
http.c Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
netmgr-int.h Refactor isc_nm_xfr_allowed() 2023-01-19 12:20:10 +00:00
netmgr.c DoT: remove TLS-related kludge in isc__nmsocket_connecttimeout_cb() 2023-03-14 18:49:29 +02:00
tcp.c Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
tcpdns.c Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
timer.c Change single write timer to per-send timers 2022-03-11 10:52:22 +01:00
tlsdns.c Refactor isc_nm_xfr_allowed() 2023-01-19 12:20:10 +00:00
tlsstream.c TLS: take 'sock->recv_read' flag into assumption 2022-12-02 15:37:41 +02:00
udp.c Update sources to Clang 15 formatting 2022-11-29 09:14:07 +01:00
uv-compat.c Add uv_tcp_close_reset compat 2022-02-17 09:47:43 +01:00
uv-compat.h Abort when libuv at runtime mismatches libuv at compile time 2022-04-26 12:11:51 +02:00
uverr2result.c Remove redundant #include <isc/strerr.h> 2022-10-17 16:08:28 +01:00