mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-04 16:37:46 +08:00
fix: resolve workspace lint and regression test failures
This commit is contained in:
@@ -1399,10 +1399,13 @@ async fn run_mock_upstream(
|
||||
}
|
||||
}
|
||||
}
|
||||
AxumWsMessage::Ping(payload) => {
|
||||
if socket.send(AxumWsMessage::Pong(payload)).await.is_err() {
|
||||
break;
|
||||
}
|
||||
AxumWsMessage::Ping(payload)
|
||||
if socket
|
||||
.send(AxumWsMessage::Pong(payload.clone()))
|
||||
.await
|
||||
.is_err() =>
|
||||
{
|
||||
break;
|
||||
}
|
||||
AxumWsMessage::Close(_) => break,
|
||||
_ => {}
|
||||
|
||||
Reference in New Issue
Block a user