Uploaded image for project: 'XNIO'
  1. XNIO
  2. XNIO-361

JsseXnioSsl.openConnection could block future if a RuntimeException is thrown by engine

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.8.0.Final, 3.7.8.Final
    • Component/s: None
    • Labels:
      None

      Description

      If a runtime exception is thrown by the ssl engine during connection opening, the future passed as a parameter to JsseXnioSsl.openConnection is never notified, causing threads to hang indefinitely.
      We could prevent that by catching the exception, notifying the future and then rethrowing the exception.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  flavia.rainone Flavia Rainone
                  Reporter:
                  flavia.rainone Flavia Rainone
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: