2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Fix netmgr read/connect timeout issues

- don't bother closing sockets that are already closing.
- UDP read timeout timer was not stopped after reading.
- improve handling of TCP connection failures.
This commit is contained in:
Ondřej Surý
2020-10-26 14:19:37 +01:00
committed by Ondřej Surý
parent 7a6056bc8f
commit cdccac4993
4 changed files with 86 additions and 60 deletions

View File

@@ -420,7 +420,6 @@ struct isc_nmsocket {
bool timer_running;
uint64_t read_timeout;
uint64_t connect_timeout;
bool timed_out;
/*% outer socket is for 'wrapped' sockets - e.g. tcpdns in tcp */
isc_nmsocket_t *outer;