summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-servers/apache/unsupported-command-20.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/www-servers/apache/unsupported-command-20.patch b/www-servers/apache/unsupported-command-20.patch
new file mode 100644
index 0000000..dfc201c
--- /dev/null
+++ b/www-servers/apache/unsupported-command-20.patch
@@ -0,0 +1,14 @@
+Index: modules/metadata/mod_remoteip.c
+===================================================================
+--- a/modules/metadata/mod_remoteip.c (revision 1873412)
++++ b/modules/metadata/mod_remoteip.c (working copy)
+@@ -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 */