Enumeration Caseswift-nio-ssl 2.29.0NIOSSL
invalidInternalState
The internal state of the handler is not able to process the unwrapping request.
SSLErrors.swift:171case invalidInternalState
Other cases
case alreadyClosed
The TLS channel has already been closed, so it is not possible to unwrap it.
case closeRequestedDuringUnwrap
We were unwrapping the connection, but during the unwrap process a close call was made. This means the connection is now closed, not unwrapped.
case unflushedWriteOnUnwrap
This write was failed because the channel was unwrapped before it was flushed.