From bcb444aed0e5b314b0694ae9fe8069152cdd7bf1 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Fri, 13 Aug 2010 10:45:32 +0000 Subject: [PATCH] remove connection aborted error message --- lib/isc/win32/socket.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/isc/win32/socket.c b/lib/isc/win32/socket.c index 14e2e6ffe4..cd9ff20c11 100644 --- a/lib/isc/win32/socket.c +++ b/lib/isc/win32/socket.c @@ -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",