mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Call reset_shutdown if uv_tcp_close_reset failed
If uv_tcp_close_reset() returns an error code, this means the
reset_shutdown callback has not been issued, so do it now.
(cherry picked from commit c40e5c8653)
This commit is contained in:
parent
6f6d90fd51
commit
e1a49ee6d4
1 changed files with 1 additions and 0 deletions
|
|
@ -3019,6 +3019,7 @@ isc__nmsocket_reset(isc_nmsocket_t *sock) {
|
|||
ISC_LOGMODULE_NETMGR, ISC_LOG_DEBUG(1),
|
||||
"TCP Reset (RST) failed: %s",
|
||||
uv_strerror(r));
|
||||
reset_shutdown(&sock->uv_handle.handle);
|
||||
}
|
||||
} else {
|
||||
isc__nmsocket_shutdown(sock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue