Fix bug with HAPROXY v2 processing when implementing v1 in d2d109
This commit is contained in:
parent
05a496c05c
commit
8d1dc800a5
@ -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