mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
dont block when handling non-ssl request
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90802 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -391,7 +391,7 @@ int ssl_hook_process_connection(SSLFilterRec *pRec)
|
||||
APR_BRIGADE_INSERT_HEAD(pRec->pbbPendingInput, e);
|
||||
|
||||
APR_BRIGADE_FOREACH(e, pRec->pbbInput) {
|
||||
apr_bucket_read(e, &str, &len, APR_BLOCK_READ);
|
||||
apr_bucket_read(e, &str, &len, APR_NONBLOCK_READ);
|
||||
if (len) {
|
||||
APR_BUCKET_REMOVE(e);
|
||||
APR_BRIGADE_INSERT_TAIL(pRec->pbbPendingInput, e);
|
||||
|
Reference in New Issue
Block a user