[bittorrent] Bug in BitTorrent 4.20.4.
sundell.software at gmail.com
Thu Aug 24 08:50:47 EDT 2006
On 8/24/06, Harold Feit <dwknight at depthstrike.com> wrote:
> Rejecting a torrent that is not created in compliance with BEncoding
> specifications is not a bug.
> BEncoded Dictionary elements must be sorted as per
> http://wiki.theory.org/BitTorrentSpecification#bencoding or else they
> are in violation of the protocol. As such, having dictionary entries of
> 'created by' and 'creation date' in the wrong order is a malformed
> BEncode Dictionary.
And the reason for this is that you should be able to transform the
bencode dictionary to a sorted dictionary in the client and back, and
the output should be the same as the input.
More information about the BitTorrent