Commit 54a12997 authored by Cliff Woolley's avatar Cliff Woolley
Browse files

fix the infinite recursion problem with HTTP-on-the-HTTPS port.

Reported by:  Paul J. Reder
Submitted by: Ryan Bloom


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk/modules/ssl@95604 13f79535-47bb-0310-9956-ffa450edef68
parent 715877dd
Loading
Loading
Loading
Loading
+7 −0
Changes for ssl_engine_kernel.c: 7 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -199,6 +199,13 @@ int ssl_hook_ReadReq(request_rec *r)
                              thisurl, thisurl);

        apr_table_setn(r->notes, "error-notes", errmsg);

        /* Now that we have caught this error, forget it. we are done
         * with using SSL on this request.
         */
        sslconn->non_ssl_request = 0;
        

        return HTTP_BAD_REQUEST;
    }