You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by "Mike Bailey (JIRA)" <xm...@ws.apache.org> on 2005/08/15 19:28:54 UTC

[jira] Created: (XMLRPC-67) Infinite loop in org.apache.xmlrpc.LiteXmlRpcTransport.initConnection()

Infinite loop in org.apache.xmlrpc.LiteXmlRpcTransport.initConnection()
-----------------------------------------------------------------------

         Key: XMLRPC-67
         URL: http://issues.apache.org/jira/browse/XMLRPC-67
     Project: XML-RPC
        Type: Bug
    Versions: 2.0    
 Environment: All
    Reporter: Mike Bailey


Retry code is incorrectly implemented in indicated method.  Connection call to a machine (e.g., server with no answering port) will never return.  Hard to kill the thread since InterruptedExceptions are being trapped and ignored in the method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Geschlossen: (XMLRPC-67) Infinite loop in org.apache.xmlrpc.LiteXmlRpcTransport.initConnection()

Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLRPC-67?page=all ]
     
Jochen Wiedmann closed XMLRPC-67:
---------------------------------

    Resolution: Fixed

Patch applied to 2.0 branch and HEAD.


> Infinite loop in org.apache.xmlrpc.LiteXmlRpcTransport.initConnection()
> -----------------------------------------------------------------------
>
>          Key: XMLRPC-67
>          URL: http://issues.apache.org/jira/browse/XMLRPC-67
>      Project: XML-RPC
>         Type: Bug
>     Versions: 2.0
>  Environment: All
>     Reporter: Mike Bailey
>  Attachments: LiteXmlRpcTransport.java.patch
>
> Retry code is incorrectly implemented in indicated method.  Connection call to a machine (e.g., server with no answering port) will never return.  Hard to kill the thread since InterruptedExceptions are being trapped and ignored in the method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (XMLRPC-67) Infinite loop in org.apache.xmlrpc.LiteXmlRpcTransport.initConnection()

Posted by "Elias Zaretsky (JIRA)" <xm...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLRPC-67?page=all ]

Elias Zaretsky updated XMLRPC-67:
---------------------------------

    Attachment: LiteXmlRpcTransport.java.patch

This trivial patch works for me.

> Infinite loop in org.apache.xmlrpc.LiteXmlRpcTransport.initConnection()
> -----------------------------------------------------------------------
>
>          Key: XMLRPC-67
>          URL: http://issues.apache.org/jira/browse/XMLRPC-67
>      Project: XML-RPC
>         Type: Bug
>     Versions: 2.0
>  Environment: All
>     Reporter: Mike Bailey
>  Attachments: LiteXmlRpcTransport.java.patch
>
> Retry code is incorrectly implemented in indicated method.  Connection call to a machine (e.g., server with no answering port) will never return.  Hard to kill the thread since InterruptedExceptions are being trapped and ignored in the method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira