]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
remove connection aborted error message
authorFrancis Dupont <fdupont@isc.org>
Fri, 13 Aug 2010 10:45:32 +0000 (10:45 +0000)
committerFrancis Dupont <fdupont@isc.org>
Fri, 13 Aug 2010 10:45:32 +0000 (10:45 +0000)
lib/isc/win32/socket.c

index 14e2e6ffe47136bb6848b98e001b8408dac47762..cd9ff20c117d88f51cecb3d81c4fcb341b5fe538 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: socket.c,v 1.81 2009/11/10 18:31:47 each Exp $ */
+/* $Id: socket.c,v 1.82 2010/08/13 10:45:32 fdupont Exp $ */
 
 /* This code uses functions which are only available on Server 2003 and
  * higher, and Windows XP and higher.
@@ -2439,7 +2439,8 @@ SocketIoThread(LPVOID ThreadContext) {
                                send_recvdone_abort(sock, isc_result);
                                if ((isc_result == ISC_R_UNEXPECTED) ||
                                    ((isc_result == ISC_R_CONNECTIONRESET) &&
-                                    (errstatus != ERROR_OPERATION_ABORTED)) ||
+                                    (errstatus != ERROR_OPERATION_ABORTED) &&
+                                    (errstatus != ERROR_CONNECTION_ABORTED)) ||
                                    (isc_result == ISC_R_HOSTUNREACH)) {
                                        UNEXPECTED_ERROR(__FILE__, __LINE__,
                                                "SOCKET_RECV: Windows error code: %d, returning ISC error %d",