From b5c317f971f4d2b85127e6730ea52866b004e694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= <fred@miniflux.net> Date: Tue, 19 Jun 2018 20:21:24 -0700 Subject: [PATCH] Disable keep-alive for HTTP client --- http/client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/http/client/client.go b/http/client/client.go index 0ec1603a..60ebbc79 100644 --- a/http/client/client.go +++ b/http/client/client.go @@ -224,6 +224,7 @@ func (c *Client) buildHeaders() http.Header { headers.Add("Authorization", c.authorizationHeader) } + headers.Add("Connection", "close") return headers } -- GitLab