Fix bug with HAPROXY v2 processing when implementing v1 in d2d109
This commit is contained in:
parent
d9817e1c2e
commit
119f2cb6b9
@ -63,7 +63,7 @@ final class SocketClient {
|
||||
if (($x=$this->read(5,6)) === 'PROXY ')
|
||||
$vers = 1;
|
||||
|
||||
elseif (($x === "\x0d\x0a\x0d\x0a\x00\x0d") && ($this->read('5,6') === "\x0aQUIT\x0a"))
|
||||
elseif (($x === "\x0d\x0a\x0d\x0a\x00\x0d") && ($this->read(5,6) === "\x0aQUIT\x0a"))
|
||||
$vers = 2;
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user