Compare commits
2 Commits
ad0ad73b0c
...
db8475053c
Author | SHA1 | Date | |
---|---|---|---|
db8475053c | |||
176ecb16a8 |
@ -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;
|
||||
}
|
||||
|
@ -49,6 +49,11 @@ class PacketDump extends Command
|
||||
throw new \Exception('Unknown type: '.$this->argument('type'));
|
||||
}
|
||||
|
||||
if (is_null($pkt)) {
|
||||
$this->info(sprintf('No packet for [%s] of type [%s]',$this->argument('ftn'),$this->argument('type')));
|
||||
return self::SUCCESS;
|
||||
}
|
||||
|
||||
if (! $this->argument('file')) {
|
||||
$this->info('Item Name:'.$pkt->name);
|
||||
$this->info('Item Type:'.get_class($pkt));
|
||||
|
Loading…
Reference in New Issue
Block a user