Remove SSL_ERROR_WANT_WRITE handling
This commit is contained in:
parent
aca99d42f1
commit
b71d9ea58e
|
@ -759,7 +759,6 @@ ssize_t Connection::read_tls(void *data, size_t len) {
|
||||||
auto err = SSL_get_error(tls.ssl, rv);
|
auto err = SSL_get_error(tls.ssl, rv);
|
||||||
switch (err) {
|
switch (err) {
|
||||||
case SSL_ERROR_WANT_READ:
|
case SSL_ERROR_WANT_READ:
|
||||||
case SSL_ERROR_WANT_WRITE: // TODO Probably not required.
|
|
||||||
tls.last_readlen = len;
|
tls.last_readlen = len;
|
||||||
return 0;
|
return 0;
|
||||||
case SSL_ERROR_SSL:
|
case SSL_ERROR_SSL:
|
||||||
|
|
Loading…
Reference in New Issue