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("Connection", "close")
|
||||
return headers
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue