Skip to content

Commit

Permalink
engine client close
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner0101 committed Feb 26, 2018
1 parent 9da65ea commit e7e0a2d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/Vapor/Engine/EngineClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand All @@ -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)
}
}
Expand Down

0 comments on commit e7e0a2d

Please sign in to comment.