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

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  fjuma Farah Juma
                  Reporter:
                  fjuma Farah Juma
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: