Permalink
Browse files

Return APR_EAGAIN instead of SSL_ERROR_WANT_READ from the mod_ssl fil…

…ters;

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
  • Loading branch information...
1 parent aeb51a9 commit 348018d253b46640aa559eb2fa43e999f5137393 Brian Pane committed Jan 23, 2006
Showing with 2 additions and 0 deletions.
  1. +2 −0 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;
}

0 comments on commit 348018d

Please sign in to comment.