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.
This commit is contained in:
@@ -1948,6 +1948,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);
|
||||
|
||||
Reference in New Issue
Block a user