In https://github.com/ikatson/rqbit/issues/66 from a posted stacktrace it became clear that setting previously_requested_pieces may panic. I found a place where it was not initialized - in "on_have" callback. I wanted to fix that + make it less error-prone, however noticed that previously_requested_pieces isn't used at all anyway, because its use was removed during one of the recent refactorings. As things seem to be working fine without it, just removed it to simplify code. |
||
|---|---|---|
| .. | ||
| examples | ||
| resources | ||
| src | ||
| webui | ||
| .gitignore | ||
| Cargo.toml | ||
| README.md | ||
librqbit
A fully featured, easy to use torrent downloading library used as a backbone of rqbit.
Basic example
See examples on GitHub.