mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
Disable keep-alive for HTTP client
This commit is contained in:
parent
7914261437
commit
b5c317f971
1 changed files with 1 additions and 0 deletions
|
@ -224,6 +224,7 @@ func (c *Client) buildHeaders() http.Header {
|
||||||
headers.Add("Authorization", c.authorizationHeader)
|
headers.Add("Authorization", c.authorizationHeader)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
headers.Add("Connection", "close")
|
||||||
return headers
|
return headers
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue