]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
754. [bug] Certain failure returns from sendto() could
authorAndreas Gustafsson <source@isc.org>
Sat, 24 Feb 2001 23:51:09 +0000 (23:51 +0000)
committerAndreas Gustafsson <source@isc.org>
Sat, 24 Feb 2001 23:51:09 +0000 (23:51 +0000)
                        cause the server to retry the transmission
                        indefinitely. [RT #902]

CHANGES
lib/isc/unix/socket.c

diff --git a/CHANGES b/CHANGES
index 9ee18b01dc4633ad0f7290909c4224b95fb11519..2ceab6069ee1c4094e9a79abf2fc04f2b86189d0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -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.
index 642cf95b6fb3af2220f7d172637af6dd68ccc3e7..05e28b4ed3d6c7f1ab88ee01cf39580d115e0ff7 100644 (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