summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGiovanni Bechis <gbechis@apache.org>2020-02-22 00:19:07 +0100
committerGiovanni Bechis <gbechis@apache.org>2020-02-22 00:19:07 +0100
commitf7448ffe8209359ebb000dcd60751dd17f2f79f0 (patch)
tree29c5e49324a0d8942f187dc59397dc009e4277f2
parentmore correct explanation about certificates handling (diff)
downloadapache2-f7448ffe8209359ebb000dcd60751dd17f2f79f0.tar.xz
apache2-f7448ffe8209359ebb000dcd60751dd17f2f79f0.zip
handle LOCAL ver_cmd proxy headers
bz 63893 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1874344 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/metadata/mod_remoteip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/metadata/mod_remoteip.c b/modules/metadata/mod_remoteip.c
index 045e9887be..e88c9c9ee6 100644
--- a/modules/metadata/mod_remoteip.c
+++ b/modules/metadata/mod_remoteip.c
@@ -948,6 +948,9 @@ static remoteip_parse_status_t remoteip_process_v2_header(conn_rec *c,
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 */