We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fa4122 commit 7796e12Copy full SHA for 7796e12
src/format/mod.rs
src/main.rs
@@ -3,7 +3,6 @@ mod byte_buf_utils;
3
mod client_sessions;
4
mod config;
5
mod encryption;
6
-mod format;
7
mod generators;
8
mod handlers;
9
mod map;
@@ -98,7 +97,10 @@ async fn main() -> anyhow::Result<()> {
98
97
99
tokio::spawn(async move {
100
// Setting client timeout
101
- match timeout(Duration::from_secs(config.server.timeout), client_handler::handle(stream, keys)).await {
+ match timeout(
+ Duration::from_secs(config.server.timeout),
102
+ client_handler::handle(stream, keys)
103
+ ).await {
104
Ok(_) => info!("Connection from {} closed", addr),
105
Err(e) => error!("Client exceptionally closed connection: {}", e)
106
}
0 commit comments