From: Amos Jeffries Date: Sun, 22 Jun 2014 03:37:09 +0000 (-0700) Subject: Treat AF_UNIX connections as no-op X-Git-Tag: SQUID_3_5_0_1~75^2~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ebeea0fe7cfc54f7a14c4acde467a86d4d52f5fe;p=thirdparty%2Fsquid.git Treat AF_UNIX connections as no-op --- diff --git a/src/client_side.cc b/src/client_side.cc index 9750518114..48c5d567f9 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -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);