Remove SSL_ERROR_WANT_WRITE handling
This commit is contained in:
parent
b30f312a70
commit
3992302432
|
@ -761,7 +761,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