]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Treat AF_UNIX connections as no-op
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 22 Jun 2014 03:37:09 +0000 (20:37 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 22 Jun 2014 03:37:09 +0000 (20:37 -0700)
src/client_side.cc

index 9750518114834144e7d7adf4c424a5696820a953..48c5d567f99d3689c3cfb4009b074ef4eaf03c01 100644 (file)
@@ -3043,7 +3043,7 @@ ConnStateData::parseProxyProtocolMagic()
             proxyProtocolError(true);
 
         const char family = (in.buf[1] & 0xF0) >>4;
-        if (family > 0x2) // values other than 0x0-0x3 are invalid. we dont accept 0x3
+        if (family > 0x3) // values other than 0x0-0x3 are invalid
             proxyProtocolError(true);
 
         const char proto = (in.buf[1] & 0x0F);