From e7e0a2de957e7f0e9e7b23d3982d0cc2b6856548 Mon Sep 17 00:00:00 2001 From: Tanner Nelson Date: Mon, 26 Feb 2018 15:20:47 -0500 Subject: [PATCH] engine client close --- Sources/Vapor/Engine/EngineClient.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Sources/Vapor/Engine/EngineClient.swift b/Sources/Vapor/Engine/EngineClient.swift index a363797cb0..d61d0a38eb 100644 --- a/Sources/Vapor/Engine/EngineClient.swift +++ b/Sources/Vapor/Engine/EngineClient.swift @@ -114,8 +114,6 @@ public final class EngineClient: Client, Service { ) req.http.headers[.host] = hostname return client.send(req.http).flatMap(to: Response.self) { httpRes in - tlsClient.close() - return try self.response(from: httpRes, for: req, maxRedirects: redirects) } } @@ -136,8 +134,6 @@ public final class EngineClient: Client, Service { ) req.http.headers[.host] = hostname return client.send(req.http).flatMap(to: Response.self) { httpRes in - tcpClient.close() - return try self.response(from: httpRes, for: req, maxRedirects: redirects) } }