summaryrefslogtreecommitdiff
path: root/www-servers/apache/unsupported-command-20.patch
blob: dfc201c2556f7bfe8c2ecaeda6f5471c8ea38051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 */