Uploaded image for project: 'XML-RPC'
  1. XML-RPC
  2. XMLRPC-120

XmlRpcCommonsTransport replyTimeout bug

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • None
    • Source
    • None

    Description

      XmlRpcCommonsTransport.initHttpHeaders tries to set replyTimeout to soTimeout like this:

      if (config.getReplyTimeout() != 0)
      client.getHttpConnectionManager().getParams().setSoTimeout(config.getConnectionTimeout());

      Shouldn't the second line be config.getReplyTimeout() instead of config.getConnectionTimeout()? I have not tested this in any way, but I just saw this line when reading the code and the bug seems obvious.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jylikrek Juho Yli-Krekola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: