Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1942b89cb | ||
|
|
5303b31bd7 | ||
|
|
c3cd6393d4 | ||
|
|
c97137f4a7 | ||
|
|
a13d81e9c0 | ||
|
|
059c02e243 | ||
|
|
a610f209d5 | ||
|
|
6e05a0b45c |
@@ -47,13 +47,6 @@ class PacketStreamFactory extends Transform{
|
|||||||
}
|
}
|
||||||
|
|
||||||
_transform(chunk, encoding, next){
|
_transform(chunk, encoding, next){
|
||||||
if(!chunk){
|
|
||||||
const err = "Chunk was invalid!";
|
|
||||||
logger.error(err);
|
|
||||||
next(err);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
let packet = new Packet();
|
let packet = new Packet();
|
||||||
|
|
||||||
const lines = chunk.split("\n");
|
const lines = chunk.split("\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user