hmm
This commit is contained in:
parent
f48846f325
commit
847d327d58
|
@ -161,13 +161,13 @@ where
|
|||
_ = timer => Evt::Timer,
|
||||
r = peer.recv() => match r {
|
||||
Ok(m) => Evt::Recv(m),
|
||||
Err(peer::RecvError::Io { source }) => {
|
||||
return Err(source.into());
|
||||
}
|
||||
Err(peer::RecvError::InvalidMessage { .. }) => {
|
||||
log.recv_corrupt().await;
|
||||
continue;
|
||||
}
|
||||
Err(peer::RecvError::Io { source }) => {
|
||||
return Err(source.into());
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue