nacho 2002/09/28 13:06:19
Modified: jk/native2/common jk_channel_socket.c
Log:
Reverted a prior fix, it seems that hangs w2k IIS, it's starts to stuck threads in
this loop until exhausted or max connections reached..
Revision Changes Path
1.41 +3 -4 jakarta-tomcat-connectors/jk/native2/common/jk_channel_socket.c
Index: jk_channel_socket.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_channel_socket.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- jk_channel_socket.c 24 Sep 2002 22:36:28 -0000 1.40
+++ jk_channel_socket.c 28 Sep 2002 20:06:19 -0000 1.41
@@ -328,12 +328,11 @@
#ifdef WIN32
if(SOCKET_ERROR == ret) {
- errno = WSAGetLastError();
+ errno = WSAGetLastError() - WSABASEERR;
}
- } while (ret == -1 && errno == WSAECONNREFUSED);
-#else
- } while (-1 == ret && EINTR == errno);
#endif /* WIN32 */
+
+ } while (-1 == ret && EINTR == errno);
/* Check if we connected */
if(ret != 0 ) {
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>