diff --git a/app/Classes/Protocol/Binkp.php b/app/Classes/Protocol/Binkp.php index 1ae3a76..529902a 100644 --- a/app/Classes/Protocol/Binkp.php +++ b/app/Classes/Protocol/Binkp.php @@ -177,8 +177,8 @@ final class Binkp extends BaseProtocol $this->msgs(self::BPM_BSY,'RETRY 0600: Down for maintenance, back soon...'); - while ($this->tx_left || $this->mqueue->count()) - $this->binkp_send(); + // @note Sometimes the remote drops the connection when we send the busy + while (($this->tx_left || $this->mqueue->count()) && $this->binkp_send()) {} return FALSE; }