mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 02:28:53 +08:00
Remove SSL_ERROR_WANT_WRITE handling
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user