From 3992302432acfb4f300bb2497cdd4355080a824c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 29 Apr 2017 22:29:41 +0900 Subject: [PATCH] Remove SSL_ERROR_WANT_WRITE handling --- src/shrpx_connection.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shrpx_connection.cc b/src/shrpx_connection.cc index 21d8b4fd..53404848 100644 --- a/src/shrpx_connection.cc +++ b/src/shrpx_connection.cc @@ -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: