Commit 348018d2 authored by Brian Pane's avatar Brian Pane
Browse files

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
parent aeb51a9e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
    }