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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.7.8.Final, 3.8.0.Final
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: