Skip to content

Commit 88dc4db

Browse files
committed
Fixes
1 parent d64b1e7 commit 88dc4db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http_server/https_server.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ async fn start_https_server_loop(addr: SocketAddr, app: Arc<AppContext>) {
4141
println!("Accepted connection from {}", socket_addr);
4242

4343
let app = app.clone();
44-
tokio::spawn(async move { handle_connection(app, endpoint_port, tcp_stream, socket_addr) });
44+
handle_connection(app, endpoint_port, tcp_stream, socket_addr).await;
4545
}
4646
}
4747

0 commit comments

Comments
 (0)