Browse Source

Don't be quite so punitive when peer sontinues sending packets for a

protocol they signed up to.
cl-refactor
Gav Wood 11 years ago
parent
commit
9600da565e
  1. 2
      libp2p/Session.cpp

2
libp2p/Session.cpp

@ -581,7 +581,7 @@ void Session::doRead()
{
// error - bad protocol
clogS(NetWarn) << "Couldn't interpret packet." << RLP(r);
disconnect(BadProtocol);
// Just wasting our bandwidth - perhaps reduce rating?
return;
}
}

Loading…
Cancel
Save