From bd3739880ffece447aadcd78ae91ac6b2f719d71 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 28 May 2020 09:59:59 +0100 Subject: Patch to prevent remoteip error message about support command 20 --- .../apache/apache-2.4.43-remoteip-local-ver_cmd.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 www-servers/apache/apache-2.4.43-remoteip-local-ver_cmd.patch (limited to 'www-servers/apache') 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 */ -- cgit v1.2.3