Qpid
  1. Qpid
  2. QPID-1839

SSLSender waits indefinitely for data to arrive when an error occurs

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.6
    • Component/s: Java Client
    • Labels:
      None

      Description

      The SSLSender when in NEED_UNWRAP state, waits indefinitely for data to arrive.
      It would be good to have a timeout and throw an exception with helpful information to diagnose the issue.

        Activity

        Hide
        Rajith Attapattu added a comment -

        A fix for this was commited at rev 771470 in Qpid trunk.
        I added a timeout (that could be configured via qpid.ssl_timeout if needed) to notify the application,
        1) if the broker fails to respond in a timely manner
        2) if there was an error and the broker has already closed the connection.

        Show
        Rajith Attapattu added a comment - A fix for this was commited at rev 771470 in Qpid trunk. I added a timeout (that could be configured via qpid.ssl_timeout if needed) to notify the application, 1) if the broker fails to respond in a timely manner 2) if there was an error and the broker has already closed the connection.
        Hide
        Rajith Attapattu added a comment -

        This was reviewed with the help of Rafi

        Show
        Rajith Attapattu added a comment - This was reviewed with the help of Rafi

          People

          • Assignee:
            Rajith Attapattu
            Reporter:
            Rajith Attapattu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development