Skip to content

Commit 7796e12

Browse files
oi
1 parent 9fa4122 commit 7796e12

File tree

2 files changed

+4
-56
lines changed

2 files changed

+4
-56
lines changed

src/format/mod.rs

Lines changed: 0 additions & 54 deletions
This file was deleted.

src/main.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ mod byte_buf_utils;
33
mod client_sessions;
44
mod config;
55
mod encryption;
6-
mod format;
76
mod generators;
87
mod handlers;
98
mod map;
@@ -98,7 +97,10 @@ async fn main() -> anyhow::Result<()> {
9897

9998
tokio::spawn(async move {
10099
// Setting client timeout
101-
match timeout(Duration::from_secs(config.server.timeout), client_handler::handle(stream, keys)).await {
100+
match timeout(
101+
Duration::from_secs(config.server.timeout),
102+
client_handler::handle(stream, keys)
103+
).await {
102104
Ok(_) => info!("Connection from {} closed", addr),
103105
Err(e) => error!("Client exceptionally closed connection: {}", e)
104106
}

0 commit comments

Comments
 (0)