mirror of
https://github.com/transmission/transmission
synced 2025-03-04 10:38:13 +00:00
#1548 Peers rapidly connect and reconnect after removing fast support.
This commit is contained in:
parent
1a3bb8f3cf
commit
c2b6fde6dd
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue