Remove SSL_ERROR_WANT_WRITE handling

This commit is contained in:
Tatsuhiro Tsujikawa 2017-04-29 22:29:41 +09:00
parent aca99d42f1
commit b71d9ea58e
1 changed files with 0 additions and 1 deletions

View File

@ -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: