Merge pull request #627 from jethrogb/patch-1
Clarify use of ssl::HandshakeError::Interrupted
This commit is contained in:
commit
78c82fa3ee
|
|
@ -73,7 +73,7 @@ pub enum HandshakeError<S> {
|
||||||
SetupFailure(ErrorStack),
|
SetupFailure(ErrorStack),
|
||||||
/// The handshake failed.
|
/// The handshake failed.
|
||||||
Failure(MidHandshakeSslStream<S>),
|
Failure(MidHandshakeSslStream<S>),
|
||||||
/// The handshake was interrupted midway through.
|
/// The handshake was interrupted midway through. This error will never be returned for blocking streams.
|
||||||
Interrupted(MidHandshakeSslStream<S>),
|
Interrupted(MidHandshakeSslStream<S>),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue