Make a serde bencode serializer
This commit is contained in:
parent
563ca78774
commit
5f60f9e1b4
11 changed files with 2436 additions and 142 deletions
|
|
@ -217,6 +217,12 @@ impl PeerConnection {
|
|||
Message::NotInterested => {
|
||||
info!("received \"not interested\", but we don't care yet")
|
||||
}
|
||||
message => {
|
||||
warn!(
|
||||
"{}: received unsupported message {:?}, ignoring",
|
||||
handle, message
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if read_so_far > size {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue