Ignore unexpected TLS handshake errors for client cert test scenarios: it seems that with recent OTP versions, the TLS handshake sometimes fails with a socket error (socket_closed_remotely, einval) rather than a TLS alert; perhaps this happens when a socket write fails before the alert has been read. As a result we can't fail the test un unexpected responses.
Ignore unexpected TLS handshake errors for client cert test scenarios: it seems that with recent OTP versions, the TLS handshake sometimes fails with a socket error (
socket_closed_remotely
,einval
) rather than a TLS alert; perhaps this happens when a socket write fails before the alert has been read. As a result we can't fail the test un unexpected responses.