Check SOME fastresume data, dont trust it completely.
This commit is contained in:
parent
babe470f9a
commit
9225e126d9
5 changed files with 67 additions and 25 deletions
|
|
@ -1557,7 +1557,7 @@ impl PeerHandler {
|
|||
|
||||
match state
|
||||
.file_ops()
|
||||
.check_piece(addr, chunk_info.piece_index, chunk_info)
|
||||
.check_piece(chunk_info.piece_index)
|
||||
.with_context(|| format!("error checking piece={index}"))?
|
||||
{
|
||||
true => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue