|
|
@ -137,8 +137,7 @@ module.exports = class RPC { |
|
|
|
onmessage (buffer, rinfo) { |
|
|
|
const from = { host: rinfo.address, port: rinfo.port } |
|
|
|
if (!from.port) return |
|
|
|
|
|
|
|
if (buffer.byteLength <= 1) return this.onholepunch(from, this) |
|
|
|
if (buffer.byteLength <= 1) return |
|
|
|
|
|
|
|
const state = { start: 0, end: buffer.byteLength, buffer } |
|
|
|
let m = null |
|
|
|