mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
*) mod_ssl: Fix mod_authz provider for "require ssl" directive to check correctly
on HTTP/2 connections. Fixes PR 62654. [Stefan Eissing] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1846111 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1605,10 +1605,7 @@ static authz_status ssl_authz_require_ssl_check(request_rec *r,
|
||||
const char *require_line,
|
||||
const void *parsed)
|
||||
{
|
||||
SSLConnRec *sslconn = myConnConfig(r->connection);
|
||||
SSL *ssl = sslconn ? sslconn->ssl : NULL;
|
||||
|
||||
if (ssl)
|
||||
if (modssl_request_is_tls(r, NULL))
|
||||
return AUTHZ_GRANTED;
|
||||
else
|
||||
return AUTHZ_DENIED;
|
||||
|
Reference in New Issue
Block a user