Ticket #2505 (closed defect: fixed)
libtorrent rejects a torrent which has a valid announce but a malformed announce-list
| Reported by: | anonymous | Owned by: | rakshasa |
|---|---|---|---|
| Priority: | normal | Component: | libtorrent |
| Version: | Severity: | normal | |
| Keywords: | Cc: |
Description
If libtorrent is asked to download a torrent which defines a valid announce URL, but a malformed announce-list, then it rejects it with the message "Tracker group list not a list".
See the attached torrent file as an example. This torrent contains fields as follows (in Python syntax):
{
"announce": " http://inferno.demonoid.com:3394/announce", "announce-list": [
{
0: {}
}
], "created by": "uTorrent/2000"
}
Clearly, this file is ludicrously and inexcusably malformed. Still, there is enough information to download it, it would be useful if libtorrent did so.
At present, the workaround is to use a hex editor to destroy the announce-list by turning the key into something unrecognised ("xnnounce-list" will do), so libtorrent ignores it.

