summaryrefslogtreecommitdiff
path: root/www-servers/apache/apache-2.4.43-remoteip-local-ver_cmd.patch
diff options
context:
space:
mode:
Diffstat (limited to 'www-servers/apache/apache-2.4.43-remoteip-local-ver_cmd.patch')
-rw-r--r--www-servers/apache/apache-2.4.43-remoteip-local-ver_cmd.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/www-servers/apache/apache-2.4.43-remoteip-local-ver_cmd.patch b/www-servers/apache/apache-2.4.43-remoteip-local-ver_cmd.patch
new file mode 100644
index 0000000..51c6cc6
--- /dev/null
+++ b/www-servers/apache/apache-2.4.43-remoteip-local-ver_cmd.patch
@@ -0,0 +1,12 @@
+--- httpd/modules/metadata/mod_remoteip.c 2020/02/21 23:04:46 1874343
++++ httpd/modules/metadata/mod_remoteip.c 2020/02/21 23:19:07 1874344
+@@ -948,6 +948,9 @@
+ apr_status_t ret;
+
+ switch (hdr->v2.ver_cmd & 0xF) {
++ case 0x00: /* LOCAL command */
++ /* keep local connection address for LOCAL */
++ return HDR_DONE;
+ case 0x01: /* PROXY command */
+ switch (hdr->v2.fam) {
+ case 0x11: /* TCPv4 */