Suggested by @reveller . If in the handshake callback, we decide that the handshake cannot succeed, the plugin should have a means to "cleanly" fail the handshake. Something like TSSSLConnError(error code). This API will cause ATS to send an appropriate SSL alert and shutdown the connection.
Suggested by @reveller . If in the handshake callback, we decide that the handshake cannot succeed, the plugin should have a means to "cleanly" fail the handshake. Something like TSSSLConnError(error code). This API will cause ATS to send an appropriate SSL alert and shutdown the connection.