mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Use same event fin packets.
This commit is contained in:
@@ -48,7 +48,7 @@ ForwardParser.prototype._transform = function(chunk, encoding, done) {
|
||||
|
||||
if (this._needLength === 0) {
|
||||
// This is a fin packet
|
||||
this.emit('fin', this._target)
|
||||
this.emit('packet', this._target, null)
|
||||
this._needLength = -HEADER_SIZE
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user