The comment is wrong, the problem is with the loadbalancer logic, if one of the configured instances got lost, connect returns WSAECONNREFUSED, with Malden's patch, the thread gots stuck in a loop trying to connectto a non existing tc instance..
Incidentally i have this config to test tc4 in port 8019 and tc33 in 8009, i normally dont have the 2 versions working at the same time, so i continually get WSAECONNREFUSED.. hence the problem.. Saludos , Ignacio J. Ortega > -----Mensaje original----- > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Enviado el: 28 de septiembre de 2002 22:06 > Para: [EMAIL PROTECTED] > Asunto: cvs commit: jakarta-tomcat-connectors/jk/native2/common > jk_channel_socket.c > > > 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_chann > el_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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>