Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit b4e5f90

Browse files
committed
Merge pull request #513 from kyarovoy/patch-1
Update provider_client.go
2 parents 6adbd72 + 3fa30bb commit b4e5f90

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

provider_client.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ func (client *ProviderClient) Request(method, url string, options RequestOpts) (
177177
}
178178
}
179179

180+
// Set connection parameter to close the connection immediately when we've got the response
181+
req.Close = true
182+
180183
// Issue the request.
181184
resp, err := client.HTTPClient.Do(req)
182185
if err != nil {

0 commit comments

Comments
 (0)