From: Brian Pane Date: Mon, 23 Jan 2006 08:04:01 +0000 (+0000) Subject: Return APR_EAGAIN instead of SSL_ERROR_WANT_READ from the mod_ssl filters; X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fasync-read-dev;p=thirdparty%2Fapache%2Fhttpd.git Return APR_EAGAIN instead of SSL_ERROR_WANT_READ from the mod_ssl filters; the httpd core and other modules' filters don't know what SSL_ERROR_* means. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/async-read-dev@371484 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_io.c b/modules/ssl/ssl_engine_io.c index 0093e3b95ea..42d6eaeeaeb 100644 --- a/modules/ssl/ssl_engine_io.c +++ b/modules/ssl/ssl_engine_io.c @@ -870,6 +870,8 @@ static apr_status_t ssl_io_filter_error(ap_filter_t *f, bucket = HTTP_ON_HTTPS_PORT_BUCKET(f->c->bucket_alloc); break; + case SSL_ERROR_WANT_READ: + return APR_EAGAIN; default: return status; }