mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
only set permanent failure for tcp streams on sending
This commit is contained in:
@@ -867,7 +867,8 @@ doio_send(isc_socket_t *sock, isc_socketevent_t *dev) {
|
||||
}
|
||||
#define ALWAYS_HARD(_system, _isc) \
|
||||
if (errno == _system) { \
|
||||
sock->send_result = _isc; \
|
||||
if (sock->connected && sock->type == isc_sockettype_tcp) \
|
||||
sock->send_result = _isc; \
|
||||
send_senddone_event(sock, &dev, _isc); \
|
||||
return (DOIO_HARD); \
|
||||
}
|
||||
|
Reference in New Issue
Block a user