diff options
author | Frédéric Guillot <fred@miniflux.net> | 2018-06-19 20:21:24 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2018-06-19 20:21:24 -0700 |
commit | b5c317f971f4d2b85127e6730ea52866b004e694 (patch) | |
tree | 731a7c63358162dfa5fd0cb6823315d8620972cd /http | |
parent | 7914261437305c3eb2ad2f1c750be91d95af718c (diff) |
Disable keep-alive for HTTP client
Diffstat (limited to 'http')
-rw-r--r-- | http/client/client.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |