summaryrefslogtreecommitdiff
path: root/include/ap_mmn.h
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2021-09-09 16:55:24 +0000
committerYann Ylavic <ylavic@apache.org>2021-09-09 16:55:24 +0000
commit2b7f51ade70bf6d517b94311dda5250e2dca85a7 (patch)
tree2a72ec52aa4cdbe0f8446c15553b877d47abc61d /include/ap_mmn.h
parent866cf4dbfbab36fb9d689b9fe835ca2ab7f38291 (diff)
downloadhttpd-2b7f51ade70bf6d517b94311dda5250e2dca85a7.tar.gz
core: Add ap_create_connection() to create a server or client/proxy connection.
c->outgoing shouldn't be set by mod_ssl, ap_create_connection() allows that and this commit also replaces all the calls to ap_run_create_connection() in mod_proxy modules (not in the MPMs which create incoming connections only). * include/http_connection.h, server/connection.c: Declare and implement ap_create_connection(). * modules/proxy/proxy_util.c, modules/proxy/mod_proxy_connect.c, modules/proxy/mod_proxy_ftp.c: Use ap_create_connection() instead of ap_run_create_connection(), and don't provide a connection_id a scoreboard handle for outgoing connection. * server/log.c(do_errorlog_default): Use c->outgoing instead of c->sbh to determine if it's a "client" or "remote" connection. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1893184 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 4686cd3cb4..349e56274c 100644
--- a/include/ap_mmn.h
+++ b/include/ap_mmn.h
@@ -679,6 +679,7 @@
* ap_proxy_define_worker_ex() to mod_proxy.h
* 20210531.3 (2.5.1-dev) Add hook child_stopping to get informed that a child
* is being shut down.
+ * 20210531.4 (2.5.1-dev) Add ap_create_connection
*/
#define MODULE_MAGIC_COOKIE 0x41503235UL /* "AP25" */
@@ -686,7 +687,7 @@
#ifndef MODULE_MAGIC_NUMBER_MAJOR
#define MODULE_MAGIC_NUMBER_MAJOR 20210531
#endif
-#define MODULE_MAGIC_NUMBER_MINOR 3 /* 0...n */
+#define MODULE_MAGIC_NUMBER_MINOR 4 /* 0...n */
/**
* Determine if the server's current MODULE_MAGIC_NUMBER is at least a