You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gb...@apache.org on 2020/02/21 23:19:08 UTC
svn commit: r1874344 - /httpd/httpd/trunk/modules/metadata/mod_remoteip.c
Author: gbechis
Date: Fri Feb 21 23:19:07 2020
New Revision: 1874344
URL: http://svn.apache.org/viewvc?rev=1874344&view=rev
Log:
handle LOCAL ver_cmd proxy headers
bz 63893
Modified:
httpd/httpd/trunk/modules/metadata/mod_remoteip.c
Modified: httpd/httpd/trunk/modules/metadata/mod_remoteip.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/metadata/mod_remoteip.c?rev=1874344&r1=1874343&r2=1874344&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/metadata/mod_remoteip.c (original)
+++ httpd/httpd/trunk/modules/metadata/mod_remoteip.c Fri Feb 21 23:19:07 2020
@@ -948,6 +948,9 @@ static remoteip_parse_status_t remoteip_
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 */