Changes between Version 5 and Version 6 of Ticket #5444, comment 7


Ignore:
Timestamp:
Aug 18, 2013, 1:17:47 AM (9 years ago)
Author:
x190
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5444, comment 7

    v5 v6  
    6565
    6666• tr_torrentHasMetadata() only checks for fileCount > 0.
    67 • sendBitfield()[r14114] allows a bitfield of zero bytes to be created and sent.
     67• sendBitfield()[r14114] allowed tr_cpCreatePieceBitfield() to be called with a byte_count of 0.
    6868
    6969It seems to me we shouldn't be sending/receiving bitfield/piece data if we don't have ''all'' the metadata (tor->info).