[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/transport/multiplex ...
Ron Sigal
ron_sigal at yahoo.com
Thu Feb 22 20:58:31 EST 2007
User: rsigal
Date: 07/02/22 20:58:31
Modified: src/main/org/jboss/remoting/transport/multiplex Tag:
remoting_2_x MultiplexClientInvoker.java
Log:
JBREM-657, JBREM-701: Added test for timeout < 0 in createSocket().
Revision Changes Path
No revision
No revision
1.44.2.2 +7 -0 JBossRemoting/src/main/org/jboss/remoting/transport/multiplex/MultiplexClientInvoker.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MultiplexClientInvoker.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/transport/multiplex/MultiplexClientInvoker.java,v
retrieving revision 1.44.2.1
retrieving revision 1.44.2.2
diff -u -b -r1.44.2.1 -r1.44.2.2
--- MultiplexClientInvoker.java 21 Feb 2007 10:37:33 -0000 1.44.2.1
+++ MultiplexClientInvoker.java 23 Feb 2007 01:58:31 -0000 1.44.2.2
@@ -488,6 +488,13 @@
{
log.debug("MultiplexClientInvoker.createSocket()");
+ if (timeout < 0)
+ {
+ timeout = getTimeout();
+ if (timeout < 0)
+ timeout = 0;
+ }
+
// If connection has been broken, try to connect to new server.
if (socketGroupInfo != null && socketGroupInfo.getPrimingSocket() != null)
{
More information about the jboss-cvs-commits
mailing list