From dd3896fdc590dba88cef0e8aa26283458bc24e75 Mon Sep 17 00:00:00 2001 From: jethrogb Date: Wed, 3 May 2017 12:03:18 -0700 Subject: [PATCH] Clarify use of ssl::HandshakeError::Interrupted --- openssl/src/ssl/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openssl/src/ssl/error.rs b/openssl/src/ssl/error.rs index 518ae90f..73eb2d47 100644 --- a/openssl/src/ssl/error.rs +++ b/openssl/src/ssl/error.rs @@ -73,7 +73,7 @@ pub enum HandshakeError { SetupFailure(ErrorStack), /// The handshake failed. Failure(MidHandshakeSslStream), - /// The handshake was interrupted midway through. + /// The handshake was interrupted midway through. This error will never be returned for blocking streams. Interrupted(MidHandshakeSslStream), }