Improve legacy EOF detector: Must be at least >= size of SAUCE
This commit is contained in:
@@ -57,6 +57,9 @@ function sliceAtEOF(data, eofMarker) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(eof === data.length || eof < 128) {
|
||||||
|
return data;
|
||||||
|
}
|
||||||
return data.slice(0, eof);
|
return data.slice(0, eof);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user