From ebeea0fe7cfc54f7a14c4acde467a86d4d52f5fe Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sat, 21 Jun 2014 20:37:09 -0700 Subject: [PATCH] Treat AF_UNIX connections as no-op --- src/client_side.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.3