From: Doug MacEachern Date: Sat, 30 Mar 2002 05:16:55 +0000 (+0000) Subject: input filter should not return failure when ssl runtime wants to read more X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79cd12cf3b1a668f6f622fb89054963c70cba25b;p=thirdparty%2Fapache%2Fhttpd.git input filter should not return failure when ssl runtime wants to read more git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@94328 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/ssl_engine_io.c b/ssl_engine_io.c index f372a48f3ba..076d2770a3e 100644 --- a/ssl_engine_io.c +++ b/ssl_engine_io.c @@ -495,6 +495,7 @@ static int ssl_io_hook_read(SSL *ssl, char *buf, int len) * renegotation which is handled implicitly by OpenSSL.) */ errno = EINTR; + rc = 0; /* non fatal error */ } else if (ssl_err == SSL_ERROR_SSL) { /* @@ -504,12 +505,8 @@ static int ssl_io_hook_read(SSL *ssl, char *buf, int len) ssl_log(c->base_server, SSL_LOG_ERROR|SSL_ADD_SSLERR, "SSL error on reading data"); } - /* - * XXX - Just trying to reflect the behaviour in - * openssl_state_machine.c [mod_tls]. TBD - */ - rc = -1; } + return rc; }