Page MenuHomePhabricator

[avalanche] bump the misbehavior for oversized AVAPOLL messages
Needs RevisionPublic

Authored by PiRK on Tue, Apr 29, 10:45.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Summary

20 was an arbitrary value. If a node does not format its messages correctly it will get disconnected soon anyway, so don't give it 4 more chances and just disconnect it immediately.

Depends on D18016

Test Plan

ninja all check-all

Event Timeline

PiRK requested review of this revision.Tue, Apr 29, 10:45
Fabien requested changes to this revision.Tue, Apr 29, 13:53
Fabien added a subscriber: Fabien.

This doesn't break any test ? It's certainly time to add one then

This revision now requires changes to proceed.Tue, Apr 29, 13:53