Closed caryyu closed 3 years ago
That particular torrent file parses fine for me with bencode
– I think you might need to set request
's option encoding: null
to receive the response body as a Buffer instead of whatever it's defaulting to, as that might be mangling your response body.
@jhermsmeier It worked, thanks a lot
Reference: https://github.com/caryyu/bteye/blob/bencode-experiment/test/bencode.test.js
Exception
Reproduce
Git-check out the referred the repo above, and then execute the following commands