]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
*) core: Adding SSL related inquiry functions to the server API.
authorStefan Eissing <icing@apache.org>
Tue, 23 Feb 2021 15:08:24 +0000 (15:08 +0000)
committerStefan Eissing <icing@apache.org>
Tue, 23 Feb 2021 15:08:24 +0000 (15:08 +0000)
commit89859aab378cba086ecb21d5057b285cdd17ae4b
tree08b38249f2a82106cb6bc0969fbb272469e2eb6c
parent309e0838934e8a1f94fca24a7a3881f5bc5a3af0
  *) core: Adding SSL related inquiry functions to the server API.
     These function are always available, even when no module providing
     SSL is loaded. They provide their own "shadowing" implementation for
     the optional functions of similar name that mod_ssl and impersonators
     of mod_ssl provide.
     This enables loading of several SSL providing modules when all but
     one of them registers itself into the new hooks. Two old-style SSL
     modules will not work, as they replace the others optional functions
     with their own.
     Modules using the old-style optional functions will continue to work
     as core supplies its own versions of those.
     The following has been added so far:
     - ap_ssl_conn_is_ssl() to query if a connection is using SSL.
     - ap_ssl_var_lookup() to query SSL related variables for a
       server/connection/request.
     - Hooks for 'ssl_conn_is_ssl' and 'ssl_var_lookup' where modules
       providing SSL can install their own value supplying functions.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1886840 13f79535-47bb-0310-9956-ffa450edef68
changes-entries/core_ssl_functions.txt [new file with mode: 0644]
include/ap_mmn.h
include/http_protocol.h
server/core.c
server/protocol.c