requests. See also https://github.com/roadrunner2/mod-proxy-protocol/issues/6
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1827196 13f79535-47bb-0310-9956-
ffa450edef68
-*- coding: utf-8 -*-
Changes with Apache 2.5.1
+ *) mod_remoteip: make proxy-protocol work on slave connections, e.g. in HTTP/2
+ requests. See also https://github.com/roadrunner2/mod-proxy-protocol/issues/6
+ [Stefan Eissing]
+
*) mod_md: fixes error in renew window calculation that may lead to mod_md running
watchdog in a tight loop until actual renewal becomes necessary. [Stefan Eissing]
remoteip_conn_config_t *conn_conf;
int i;
- /* Do not attempt to manipulate slave connections */
+ /* Establish master config in slave connections, so that request processing
+ * finds it. */
if (c->master != NULL) {
+ conn_conf = ap_get_module_config(c->master->conn_config, &remoteip_module);
+ if (conn_conf) {
+ ap_set_module_config(c->conn_config, &remoteip_module, conn_conf);
+ }
return DECLINED;
}