From b71d9ea58edcfc25e8876aa3e62e2a14de2d9866 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 12996435..abc9f7c8 100644 --- a/src/shrpx_connection.cc +++ b/src/shrpx_connection.cc @@ -759,7 +759,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: