Processing cancel messages

This commit is contained in:
Igor Katson 2023-12-06 23:25:52 +00:00
parent 9cbe16b387
commit d258a9afe2
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
2 changed files with 24 additions and 6 deletions

View file

@ -856,7 +856,10 @@ impl<'a> PeerConnectionHandler for &'a PeerHandler {
}
Message::Have(h) => self.on_have(h),
Message::NotInterested => {
debug!("received \"not interested\", but we don't care yet")
debug!("received \"not interested\", but we don't process it yet")
}
Message::Cancel(_) => {
debug!("received \"cancel\", but we don't process it yet")
}
message => {
warn!("received unsupported message {:?}, ignoring", message);