Commit b95c0d1c authored by Doug MacEachern's avatar Doug MacEachern
Browse files

need to check return value of ssl_hook_process_connection

if != APR_SUCCESS the ssl connection has been shutdown
(for example client cert was revoked)
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90155 13f79535-47bb-0310-9956-ffa450edef68
parent c1a26606
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -282,7 +282,12 @@ static apr_status_t churn (SSLFilterRec *pRec,
        
        assert(n >= 0 && (apr_size_t)n == len);

        ssl_hook_process_connection (pRec);
        if ((ret = ssl_hook_process_connection(pRec)) != APR_SUCCESS) {
            /* if this is the case, ssl connection has been shutdown
             * and pRec->pssl has been freed
             */
            return ret;
        }
        
        /* pass along all of the current BIO */
        while ((n = ssl_io_hook_read(pRec->pssl,