From b5c317f971f4d2b85127e6730ea52866b004e694 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 19 Jun 2018 20:21:24 -0700 Subject: 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 0ec1603..60ebbc7 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 } -- cgit v1.2.3