#1548 Peers rapidly connect and reconnect after removing fast support.
This commit is contained in:
parent
1a3bb8f3cf
commit
c2b6fde6dd
|
@ -1128,6 +1128,7 @@ messageLengthIsCorrect( const tr_peermsgs * msg,
|
|||
|
||||
case BT_HAVE:
|
||||
case BT_SUGGEST:
|
||||
return len == 5;
|
||||
|
||||
case BT_BITFIELD:
|
||||
return len == ( msg->torrent->info.pieceCount + 7u ) / 8u + 1u;
|
||||
|
|
Loading…
Reference in New Issue