mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 06:18:58 +01:00
Update deps
This commit is contained in:
parent
dcb5816495
commit
5be1947e6d
@ -50,7 +50,7 @@
|
||||
"league/uri": "^7",
|
||||
"danog/ipc": "^1",
|
||||
"amphp/log": "^2",
|
||||
"danog/loop": "^1",
|
||||
"danog/loop": "^1.1.0",
|
||||
"phpseclib/phpseclib": "^3.0.22",
|
||||
"amphp/redis": "^2",
|
||||
"psr/http-factory": "^1.0",
|
||||
|
@ -516,8 +516,8 @@ final class Connection
|
||||
unset($body);
|
||||
}
|
||||
$this->pendingOutgoing[$this->pendingOutgoingKey++] = $message;
|
||||
if ($flush && isset($this->writer)) {
|
||||
$this->writer->resume();
|
||||
if ($flush) {
|
||||
$this->flush();
|
||||
}
|
||||
$this->connect();
|
||||
$promise->await();
|
||||
|
@ -148,7 +148,7 @@ trait CallHandler
|
||||
$promises[] = async($this->methodCallAsyncWrite(...), $method, $single_args, $new_aargs);
|
||||
}
|
||||
if (!isset($aargs['postpone'])) {
|
||||
$this->writer->resume();
|
||||
$this->flush();
|
||||
}
|
||||
return new WrappedFuture(async(fn () => \array_map(
|
||||
fn (WrappedFuture $f) => $f->await(),
|
||||
|
@ -162,7 +162,7 @@ trait ResponseHandler
|
||||
}
|
||||
$this->new_incoming = [];
|
||||
if ($this->pendingOutgoing) {
|
||||
$this->writer->resume();
|
||||
$this->flush();
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user