I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit cf10a2d5 authored by zzz's avatar zzz
Browse files

Tunnels: Fix NPE in BuildHandler

parent 56fdc244
No related branches found
No related tags found
No related merge requests found
......@@ -889,7 +889,8 @@ class BuildHandler implements Runnable {
if (_log.shouldWarn())
_log.warn("Dropping request (hop throttle), next hop: " + nextPeer + ": " + req);
_context.statManager().addRateData("tunnel.rejectHopThrottle", 1);
_context.commSystem().mayDisconnect(from);
if (from != null)
_context.commSystem().mayDisconnect(from);
return;
}
if (result == ParticipatingThrottler.Result.REJECT) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment