]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
timeouts could be logged incorrectly in win32 [rt18617]
authorEvan Hunt <each@isc.org>
Thu, 11 Sep 2008 21:05:22 +0000 (21:05 +0000)
committerEvan Hunt <each@isc.org>
Thu, 11 Sep 2008 21:05:22 +0000 (21:05 +0000)
CHANGES
lib/isc/win32/errno2result.c

diff --git a/CHANGES b/CHANGES
index 86985ea1e4c89b6f7d62982691d447e745d416e6..3597e75a1f32f2f343385253a3da8ec0ac23c976 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2438.  [bug]           Timeouts could be logged incorrectly under win32.
+                       [RT #18617]
+
 2437.  [bug]           Sockets could be closed too early, leading to
                        inconsistent states in the socket module. [RT #18298]
 
index a14290c6edcf116a2cbd8959f0c5fd22235b94b8..0c74de5fef002394fd921c8c3ede51ece5aaa89c 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: errno2result.c,v 1.9.18.6 2008/09/11 05:43:32 each Exp $ */
+/* $Id: errno2result.c,v 1.9.18.7 2008/09/11 21:05:22 each Exp $ */
 
 #include <config.h>
 
@@ -79,6 +79,8 @@ isc__errno2resultx(int posixerrno, const char *file, int line) {
                return (ISC_R_NETUNREACH);
        case ERROR_PORT_UNREACHABLE:
                return (ISC_R_HOSTUNREACH);
+       case ERROR_SEM_TIMEOUT:
+               return (ISC_R_TIMEDOUT);
        case WSAECONNRESET:
        case WSAENETRESET:
        case WSAECONNABORTED: