HTTP fixes
This commit is contained in:
parent
6c84ada369
commit
e0ceb0f39c
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit b6152298e377fe696e67971d889833fa1f36da8e
|
||||
Subproject commit 733a119e0cd84382fd46c51e5ada2b19e1a296a1
|
@ -102,7 +102,7 @@ class HttpProxy implements \danog\MadelineProto\Proxy
|
||||
{
|
||||
$line = $lastchar = $curchar = '';
|
||||
while ($lastchar.$curchar !== "\r\n") {
|
||||
$line .= $curchar;
|
||||
$line .= $lastchar;
|
||||
$lastchar = $curchar;
|
||||
$curchar = $this->sock->read(1);
|
||||
}
|
||||
|
@ -362,7 +362,7 @@ class Connection
|
||||
{
|
||||
$line = $lastchar = $curchar = '';
|
||||
while ($lastchar.$curchar !== "\r\n") {
|
||||
$line .= $curchar;
|
||||
$line .= $lastchar;
|
||||
$lastchar = $curchar;
|
||||
$curchar = $this->sock->read(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user