Browse Source

remove old code

session-estimator
Mathias Buus 4 years ago
parent
commit
5809068bea
  1. 3
      lib/rpc.js

3
lib/rpc.js

@ -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

Loading…
Cancel
Save