diff --git a/crates/http/src/workers/socket/connection.rs b/crates/http/src/workers/socket/connection.rs index 787440c..c277ffc 100644 --- a/crates/http/src/workers/socket/connection.rs +++ b/crates/http/src/workers/socket/connection.rs @@ -171,7 +171,7 @@ where self.write_response(&response, peer_addr).await?; - if matches!(response, Response::Failure(_)) || !self.config.network.keep_alive { + if !self.config.network.keep_alive { break; } }