2
0
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:
Michael Graff
2000-05-22 16:56:12 +00:00
parent c512030111
commit a330a4b008

View File

@@ -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); \
}