summaryrefslogtreecommitdiff
path: root/include/ap_mmn.h
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2021-02-23 15:08:24 +0000
committerStefan Eissing <icing@apache.org>2021-02-23 15:08:24 +0000
commit89859aab378cba086ecb21d5057b285cdd17ae4b (patch)
tree08b38249f2a82106cb6bc0969fbb272469e2eb6c /include/ap_mmn.h
parent309e0838934e8a1f94fca24a7a3881f5bc5a3af0 (diff)
downloadhttpd-89859aab378cba086ecb21d5057b285cdd17ae4b.tar.gz
*) 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
Diffstat (limited to 'include/ap_mmn.h')
-rw-r--r--include/ap_mmn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ap_mmn.h b/include/ap_mmn.h
index 1d38b110eb..f6a6d2597a 100644
--- a/include/ap_mmn.h
+++ b/include/ap_mmn.h
@@ -664,6 +664,7 @@
* ap_proxy_read_input().
* 20200705.4 (2.5.1-dev) Add ap_get_status_line_ex()
* 20201214.0 (2.5.1-dev) Axe struct core_net_rec
+ * 20201214.1 (2.5.1-dev) Add ap_ssl_conn_is_ssl()/ap_ssl_var_lookup() and hooks
*/
#define MODULE_MAGIC_COOKIE 0x41503235UL /* "AP25" */
@@ -671,7 +672,7 @@
#ifndef MODULE_MAGIC_NUMBER_MAJOR
#define MODULE_MAGIC_NUMBER_MAJOR 20201214
#endif
-#define MODULE_MAGIC_NUMBER_MINOR 0 /* 0...n */
+#define MODULE_MAGIC_NUMBER_MINOR 1 /* 0...n */
/**
* Determine if the server's current MODULE_MAGIC_NUMBER is at least a