Compare commits

..

No commits in common. "38e4e551b9f576cdba596a0f00f1b64d2bad77c3" and "b8f0b11c05922064004fcbe19852f635b0904849" have entirely different histories.

2 changed files with 4 additions and 12 deletions

View File

@ -663,7 +663,7 @@ final class Binkp extends BaseProtocol
$offs = (int)$this->strsep($str,' '); $offs = (int)$this->strsep($str,' ');
$flags = $this->strsep($str,' '); $flags = $this->strsep($str,' ');
if ($name && is_numeric($size) && $time) { if ($name && $size && $time) {
return [ return [
'file'=>['name'=>$name,'size'=>$size,'mtime'=>$time], 'file'=>['name'=>$name,'size'=>$size,'mtime'=>$time],
'offs'=>$offs, 'offs'=>$offs,
@ -918,14 +918,6 @@ final class Binkp extends BaseProtocol
$this->recv->new($file['file'],$this->node->address,$this->force_queue); $this->recv->new($file['file'],$this->node->address,$this->force_queue);
// If the file is zero byte size, we'll skip it
if ($this->recv->recvsize === 0) {
Log::error(sprintf('%s:! SKIPPING zero byte file info [%s]',self::LOGKEY,$this->recv->nameas));
$this->msgs(self::BPM_SKIP,$this->recv->name_size_time);
return TRUE;
}
try { try {
switch ($this->recv->open($file['offs']<0,$file['flags'])) { switch ($this->recv->open($file['offs']<0,$file['flags'])) {
case self::FOP_ERROR: case self::FOP_ERROR:

View File

@ -62,7 +62,7 @@ class AddressIdle implements ShouldQueue
if ($ao->system->last_seen && $ao->system->last_seen->greaterThan($age)) if ($ao->system->last_seen && $ao->system->last_seen->greaterThan($age))
continue; continue;
Log::info(sprintf('%s:- Delisting [%s], not seen for at least [%d] days',self::LOGKEY,$ao->ftn,config('fido.idle.delist'))); Log::info(sprintf('%s:- Delisting [%s], not seen for [%d] days',self::LOGKEY,$ao->ftn,config('fido.idle.delist')));
$contact = FALSE; $contact = FALSE;
// Remove echomail not collected from echomail_seenby // Remove echomail not collected from echomail_seenby
@ -126,7 +126,7 @@ class AddressIdle implements ShouldQueue
if ($ao->system->last_seen && $ao->system->last_seen->greaterThan($age)) if ($ao->system->last_seen && $ao->system->last_seen->greaterThan($age))
continue; continue;
Log::info(sprintf('%s:- Marking [%s] as DOWN, not seen for at least [%d] days',self::LOGKEY,$ao->ftn,config('fido.idle.down'))); Log::info(sprintf('%s:- Marking [%s] as DOWN, not seen for [%d] days',self::LOGKEY,$ao->ftn,config('fido.idle.down')));
$contact = FALSE; $contact = FALSE;
// Email Alert // Email Alert
@ -173,7 +173,7 @@ class AddressIdle implements ShouldQueue
$contact = FALSE; $contact = FALSE;
Log::info(sprintf('%s:- Marking [%s] as HOLD, not seen for at least [%d] days',self::LOGKEY,$ao->ftn,config('fido.idle.hold'))); Log::info(sprintf('%s:- Marking [%s] as HOLD, not seen for [%d] days',self::LOGKEY,$ao->ftn,config('fido.idle.hold')));
// Email Alert // Email Alert
if ($ao->system->users->count()) { if ($ao->system->users->count()) {