Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-4047

IoNetworkTransport doesn't use timeout on socket connect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.17
    • Java Common
    • None

    Description

      line 76 of org/apache/qpid/transport/network/io/IoNetworkTransport calls _socket.connect without supplying a timeout value. This is equivalent to an infinite timeout. Re-use the _timeout field within the same class that specifies a 60 second timeout for reads?

      I've attached a patch.

      Attachments

        1. addTimeOutOnSocketConnect.patch
          1.0 kB
          Praveen Murugesan

        Activity

          People

            rgodfrey Robert Godfrey
            lefthandmagic Praveen Murugesan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: