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

Avoid infinite loop in JsseSslConduitEngine#handleHandshake when the SSLEngineResult.HandshakeStatus is NEED_WRAP and the SSLEngineResult.Status is CLOSED

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.7.1.Final
    • None
    • api
    • None

      Due to the new half-close policy in TLS 1.3, an infinite loop can occur in JsseSslConduitEngine#handleHandshake when the SSLEngineResult.HandshakeStatus is NEED_WRAP and the SSLEngineResult.Status is CLOSED. In particular, after this state is reached, the SSLEngineResult.HandshakeStatus will always be NEED_WRAP and the SSLEngineResult.Status will always be OK and so the for loop will never terminate.

            fjuma1@redhat.com Farah Juma
            fjuma1@redhat.com Farah Juma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: