Fix for large packet transfer, since we were evaluating with the wrong size
This commit is contained in:
parent
39605af693
commit
f9a74578ff
@ -512,8 +512,8 @@ final class Binkp extends BaseProtocol
|
|||||||
|
|
||||||
$rc = TRUE;
|
$rc = TRUE;
|
||||||
|
|
||||||
if ($this->recv->pos === $this->recv->size) {
|
if ($this->recv->pos === $this->recv->recvsize) {
|
||||||
Log::info(sprintf('%s:- Finished receiving file [%s] with size [%d]',self::LOGKEY,$this->recv->nameas,$this->recv->size));
|
Log::info(sprintf('%s:- Finished receiving file [%s] with size [%d]',self::LOGKEY,$this->recv->nameas,$this->recv->recvsize));
|
||||||
|
|
||||||
$this->msgs(self::BPM_GOTSKIP,$this->recv->name_size_time);
|
$this->msgs(self::BPM_GOTSKIP,$this->recv->name_size_time);
|
||||||
$this->recv->close();
|
$this->recv->close();
|
||||||
|
@ -135,7 +135,7 @@ use App\Classes\Protocol\{Binkp,EMSI,DNS};
|
|||||||
|
|
||||||
<div class="mt-1 form-check form-switch">
|
<div class="mt-1 form-check form-switch">
|
||||||
<input class="form-check-input" type="checkbox" id="binkp_comp" name="binkp[comp]" value="{{ Binkp::F_COMP }}" @if(old('binkp.comp',$o->optionGet(Binkp::F_COMP,'binkp_options'))) checked @endif>
|
<input class="form-check-input" type="checkbox" id="binkp_comp" name="binkp[comp]" value="{{ Binkp::F_COMP }}" @if(old('binkp.comp',$o->optionGet(Binkp::F_COMP,'binkp_options'))) checked @endif>
|
||||||
<label class="form-check-label" for="binkp_comp">Compression Enabled <sup>*</sup></label>
|
<label class="form-check-label" for="binkp_comp">Compression Enabled</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-1 form-check form-switch">
|
<div class="mt-1 form-check form-switch">
|
||||||
|
Loading…
Reference in New Issue
Block a user