From: Giovanni Bechis Date: Fri, 21 Feb 2020 23:19:07 +0000 (+0000) Subject: handle LOCAL ver_cmd proxy headers X-Git-Tag: 2.5.0-alpha2-ci-test-only~1629 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7448ffe8209359ebb000dcd60751dd17f2f79f0;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/metadata/mod_remoteip.c b/modules/metadata/mod_remoteip.c index 045e9887be3..e88c9c9ee6e 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 */