--- a/rust/hedgewars-server/src/server/network.rs Sat Mar 25 03:29:22 2023 +0300
+++ b/rust/hedgewars-server/src/server/network.rs Sat Mar 25 04:00:30 2023 +0300
@@ -188,6 +188,7 @@
}
}
Err(e) => {
+ todo!("send cmdline errors");
sender.send(Error(format!("{}", e))).await;
if matches!(e, ProtocolError::Timeout) {
Self::write(&mut self.stream, Bytes::from(HwServerMessage::Bye("Ping timeout".to_string()).to_raw_protocol())).await;
@@ -276,6 +277,8 @@
}
}
+ todo!("add the DB task");
+ todo!("add certfile watcher task");
loop {
#[cfg(not(feature = "tls-connections"))]
tokio::select! {