Remove SSL_ERROR_WANT_WRITE handling

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

View File

@ -761,7 +761,6 @@ ssize_t Connection::read_tls(void *data, size_t len) {
auto err = SSL_get_error(tls.ssl, rv);
switch (err) {
case SSL_ERROR_WANT_READ:
case SSL_ERROR_WANT_WRITE: // TODO Probably not required.
tls.last_readlen = len;
return 0;
case SSL_ERROR_SSL: