diff options
| author | Steven Fackler <[email protected]> | 2017-11-04 13:32:18 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2017-11-04 13:32:18 -0700 |
| commit | a1a3219483977bef2c059b1681932d95eb20180e (patch) | |
| tree | 9a999676203740b1aecaf5f29c33f27a49ab3094 /openssl/src/stack.rs | |
| parent | Merge pull request #747 from BrianOn99/symm (diff) | |
| download | rust-openssl-a1a3219483977bef2c059b1681932d95eb20180e.tar.xz rust-openssl-a1a3219483977bef2c059b1681932d95eb20180e.zip | |
Handle local retries
OpenSSL can return SSL_ERROR_WANT_READ even on blocking sockets after
renegotiation or heartbeats. Heartbeats ignore the flag that normally
makes these things handled internally anyway on 1.0.2. To handle this
more properly, we now have a special error type we use to signal this
event. The `Read` and `Write` implementation automatically retry in this
situation since that's what you normally want. People can use `ssl_read`
and `ssl_write` if they want the lower level control.
Closes #760
Diffstat (limited to 'openssl/src/stack.rs')
0 files changed, 0 insertions, 0 deletions