]> Sergey Matveev's repositories - btrtrc.git/commit
Don't error on bencode dicts that can't be marshalled
authorMatt Joiner <anacrolix@gmail.com>
Wed, 11 Jul 2018 05:33:41 +0000 (15:33 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Wed, 11 Jul 2018 05:33:41 +0000 (15:33 +1000)
commita4a123b04e7892daab9147c829e92c721676e971
treed76212531465a1780890388b9a7f0147e1590971
parent04fa1b8d4cdbdb745616152a338b5c5b433d5f33
Don't error on bencode dicts that can't be marshalled

Have seen metainfo announce-lists that are lists of dicts. Possibly ignoring type errors with a tag would be smarter but I'm undecided.
bencode/decode.go