Fixes for BINKP, we were sending too many EOB's
This commit is contained in:
@@ -254,11 +254,11 @@ final class Receive extends Item
|
||||
&& (Storage::disk('local')->size($this->local_path($ao)) === $this->size))
|
||||
{
|
||||
Log::alert(sprintf('%s:- File already exists - skipping [%s]', self::LOGKEY, $this->file));
|
||||
return Protocol::FOP_SKIP;
|
||||
return Protocol::FOP_GOT;
|
||||
|
||||
} elseif (file_exists($this->file) && (Storage::disk('local')->size($this->local_path($ao)) > 0)) {
|
||||
Log::alert(sprintf('%s:- File exists with different details - skipping [%s]',self::LOGKEY,$this->file));
|
||||
return Protocol::FOP_SUSPEND;
|
||||
return Protocol::FOP_SKIP;
|
||||
|
||||
} else {
|
||||
// @todo I dont think we are enabling resumable sessions - need to check
|
||||
|
Reference in New Issue
Block a user