mirror of
https://github.com/Corfirean/coa-server-manager.git
synced 2026-11-22 19:25:56 +00:00
style: format merged codebase and update release artifact hashes
This commit is contained in:
1 parent
2b95553168
commit
e035f33fc0
17 files changed
+685
-170
No files matched your search
@@ -324,7 +324,7 @@ fn handle_world_client(mut client: TcpStream, local_world_port: u16) -> Result<(
|
||||
}
|
||||
done.store(true, Ordering::Relaxed);
|
||||
if let Some(c) = client_shutdown {
|
||||
let _ = c.shutdown(std::net::Shutdown::Both);
|
||||
let _ = c.shutdown(std::net::Shutdown::Write);
|
||||
}
|
||||
|
||||
let _ = t_c2s.join();
|
||||
@@ -363,6 +363,7 @@ mod tests {
|
||||
let n = stream.read(&mut buf).unwrap();
|
||||
assert_eq!(&buf[..n], b"WORLD_PING");
|
||||
stream.write_all(b"WORLD_PONG").unwrap();
|
||||
let _ = stream.shutdown(std::net::Shutdown::Write);
|
||||
});
|
||||
|
||||
let mut client_world = TcpStream::connect(format!("127.0.0.1:{ingress_world}")).unwrap();
|
||||
|
||||
Reference in new issue
Block a user