mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 04:51:13 +01:00
Fix HTTP(s) transports
This commit is contained in:
parent
9ced15326c
commit
64de1c0242
@ -270,7 +270,7 @@ final class Connection
|
||||
$this->checker ??= new CheckLoop($this);
|
||||
$this->cleanup ??= new CleanupLoop($this);
|
||||
$this->waiter ??= new HttpWaitLoop($this);
|
||||
if (!isset($this->pinger) && !$this->ctx->isMedia() && !$this->ctx->isCDN()) {
|
||||
if (!isset($this->pinger) && !$this->ctx->isMedia() && !$this->ctx->isCDN() && !$this->shared->isHttp()) {
|
||||
$this->pinger = new PingLoop($this);
|
||||
}
|
||||
foreach ($this->new_outgoing as $message_id => $message) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user