Browse Source

force eph if req/res addrs do not match

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

1
lib/rpc.js

@ -160,6 +160,7 @@ module.exports = class RPC {
const req = this._dequeue(m.tid)
if (req === null) return
if (m.id && (req.to.port !== from.port || req.to.host !== from.host)) m.id = null
// decrement the inflight window as this is an "ack"
if (this._win[this._w] > 0) this._win[this._w]--

Loading…
Cancel
Save