From 77fdc180973915f8d5bb62fda68e3d0da998dcd9 Mon Sep 17 00:00:00 2001 From: int 80h Date: Fri, 22 May 2020 15:12:28 -0400 Subject: [PATCH] Timeout for request and cgi --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index b345b0a..4825510 100644 --- a/src/main.rs +++ b/src/main.rs @@ -247,6 +247,7 @@ async fn handle_connection( } } } + if srv.server.cgi.unwrap_or(false) { match &srv.server.cgipath { Some(c) => {