]> granicus.if.org Git - apache/commitdiff
dont block when handling non-ssl request
authorDoug MacEachern <dougm@apache.org>
Thu, 30 Aug 2001 05:33:57 +0000 (05:33 +0000)
committerDoug MacEachern <dougm@apache.org>
Thu, 30 Aug 2001 05:33:57 +0000 (05:33 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90802 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/mod_ssl.c

index 470127ab94de442c8ffc3cee39e8132806fd3b49..69febc46d72a5c30ad2e77f7167a35ebcaf2e139 100644 (file)
@@ -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);