754. [bug] Certain failure returns from sendto() could

cause the server to retry the transmission
                        indefinitely. [RT #902]
This commit is contained in:
Andreas Gustafsson 2001-02-24 23:51:09 +00:00
parent 1d8cbe855f
commit c05eeed3c9
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
754. [bug] Certain failure returns from sendto() could
cause the server to retry the transmission
indefinitely. [RT #902]
753. [bug] dig, host, and nslookup would fail to contact a
remote server if getaddrinfo() returned an IPv6
address on a system that doesn't support IPv6.

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: socket.c,v 1.192 2001/02/12 21:43:15 bwelling Exp $ */
/* $Id: socket.c,v 1.193 2001/02/24 23:51:09 gson Exp $ */
#include <config.h>
@ -1028,9 +1028,9 @@ doio_send(isc_socket_t *sock, isc_socketevent_t *dev) {
return (DOIO_HARD); \
}
SOFT_OR_HARD(EACCES, ISC_R_NOPERM);
SOFT_OR_HARD(EAFNOSUPPORT, ISC_R_ADDRNOTAVAIL);
SOFT_OR_HARD(ECONNREFUSED, ISC_R_CONNREFUSED);
ALWAYS_HARD(EACCES, ISC_R_NOPERM);
ALWAYS_HARD(EAFNOSUPPORT, ISC_R_ADDRNOTAVAIL);
ALWAYS_HARD(EADDRNOTAVAIL, ISC_R_ADDRNOTAVAIL);
ALWAYS_HARD(EHOSTUNREACH, ISC_R_HOSTUNREACH);
#ifdef EHOSTDOWN