Author: jochen Date: Fri Dec 30 05:49:38 2005 New Revision: 360085 URL: http://svn.apache.org/viewcvs?rev=360085&view=rev Log: A missing increment in LiteXmlRpcTransport.initConnection() prevented, that the method could finally fail, resulting in a never ending loop.
Modified: webservices/xmlrpc/trunk/.classpath webservices/xmlrpc/trunk/.project webservices/xmlrpc/trunk/changes.xml webservices/xmlrpc/trunk/src/java/org/apache/xmlrpc/LiteXmlRpcTransport.java Modified: webservices/xmlrpc/trunk/.classpath URL: http://svn.apache.org/viewcvs/webservices/xmlrpc/trunk/.classpath?rev=360085&r1=360084&r2=360085&view=diff ============================================================================== --- webservices/xmlrpc/trunk/.classpath (original) +++ webservices/xmlrpc/trunk/.classpath Fri Dec 30 05:49:38 2005 @@ -1,36 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <classpath> - <classpathentry kind="src" path="examples/echo"> - <attributes> - </attributes> - </classpathentry> - <classpathentry kind="src" path="src/java"> - <attributes> - </attributes> - </classpathentry> - <classpathentry kind="src" path="src/test"> - <attributes> - </attributes> - </classpathentry> - <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"> - <attributes> - </attributes> - </classpathentry> - <classpathentry kind="lib" path="lib/commons-httpclient-3.0.jar"> - <attributes> - </attributes> - </classpathentry> - <classpathentry kind="lib" path="lib/junit-3.8.1.jar"> - <attributes> - </attributes> - </classpathentry> - <classpathentry kind="lib" path="lib/servletapi-2.2.jar"> - <attributes> - </attributes> - </classpathentry> - <classpathentry kind="lib" path="lib/commons-codec-1.3.jar"> - <attributes> - </attributes> - </classpathentry> + <classpathentry kind="src" path="examples/echo"/> + <classpathentry kind="src" path="src/java"/> + <classpathentry kind="src" path="src/test"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/> <classpathentry kind="output" path="bin"/> </classpath> Modified: webservices/xmlrpc/trunk/.project URL: http://svn.apache.org/viewcvs/webservices/xmlrpc/trunk/.project?rev=360085&r1=360084&r2=360085&view=diff ============================================================================== --- webservices/xmlrpc/trunk/.project (original) +++ webservices/xmlrpc/trunk/.project Fri Dec 30 05:49:38 2005 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <projectDescription> - <name>ws-xmlrpc</name> + <name>ws-xmlrpc-HEAD</name> <comment></comment> <projects> </projects> @@ -10,8 +10,14 @@ <arguments> </arguments> </buildCommand> + <buildCommand> + <name>org.maven.ide.eclipse.maven2Builder</name> + <arguments> + </arguments> + </buildCommand> </buildSpec> <natures> <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.maven.ide.eclipse.maven2Nature</nature> </natures> </projectDescription> Modified: webservices/xmlrpc/trunk/changes.xml URL: http://svn.apache.org/viewcvs/webservices/xmlrpc/trunk/changes.xml?rev=360085&r1=360084&r2=360085&view=diff ============================================================================== --- webservices/xmlrpc/trunk/changes.xml (original) +++ webservices/xmlrpc/trunk/changes.xml Fri Dec 30 05:49:38 2005 @@ -3,7 +3,15 @@ <title>Changes in Apache XML-RPC</title> </properties> <body> - <release version="2.1" date="in CVS"> + <release version="2.0.2" date="Not yet released"> + <action dev="jochen" type="fix" issue="XMLRPC-67" + due-to="Mike Bailey" due-to-email="mike at blueoak.com"> + A missing increment in LiteXmlRpcTransport.initConnection() + prevented, that the method could finally fail, resulting + in a never ending loop. + </action> + </release> + <release version="2.0.1" date="28-Dec-2005"> <action dev="jochen" type="fix" issue="XMLRPC-68" due-to="Johan Oskarson" due-to-email="johan at oskarsson.nu"> The Webserver class was unable to handle basic authentication, Modified: webservices/xmlrpc/trunk/src/java/org/apache/xmlrpc/LiteXmlRpcTransport.java URL: http://svn.apache.org/viewcvs/webservices/xmlrpc/trunk/src/java/org/apache/xmlrpc/LiteXmlRpcTransport.java?rev=360085&r1=360084&r2=360085&view=diff ============================================================================== --- webservices/xmlrpc/trunk/src/java/org/apache/xmlrpc/LiteXmlRpcTransport.java (original) +++ webservices/xmlrpc/trunk/src/java/org/apache/xmlrpc/LiteXmlRpcTransport.java Fri Dec 30 05:49:38 2005 @@ -149,7 +149,7 @@ socket = new Socket(hostname, port); } catch (ConnectException e) { - if (tries >= retries) { + if (tries++ >= retries) { throw e; } else { // log.debug("ConnectException: " + e.getMessage() + ", waiting " + new Integer(delayMillis).toString() + " milliseconds and retrying");