Constant openssl::ssl::SSL_MODE_AUTO_RETRY
[−]
pub const SSL_MODE_AUTO_RETRY: SslMode=SslMode{bits: ffi::SSL_MODE_AUTO_RETRY,}
Enables automatic retries after TLS session events such as renegotiations or heartbeats.
By default, OpenSSL will return a WantRead error after a renegotiation or heartbeat.
This option will cause OpenSSL to automatically continue processing the requested
operation instead.
Note that SslStream::read and SslStream::write will automatically retry regardless
of the state of this option. It only affects SslStream::ssl_read and
SslStream::ssl_write.