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

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

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 3.7.8.Final, 3.8.0.Final
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              flaviarnn Flavia Rainone
              flaviarnn Flavia Rainone
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: