commit | b4e5f90e497df7ca8ada2d27b5fb908d9504b1bb | [log] [tgz] |
---|---|---|
author | jrperritt <jrperritt@gmail.com> | Tue Feb 09 14:28:02 2016 -0600 |
committer | jrperritt <jrperritt@gmail.com> | Tue Feb 09 14:28:02 2016 -0600 |
tree | 567ab32d6b513e13ad1fc519a93cc39f3d1bba0e | |
parent | 6adbd72b04c9f568f56437337dda8f7217163c4c [diff] | |
parent | 3fa30bbd781143dd9c14b8c9d87a48f879e9ad83 [diff] |
Merge pull request #513 from kyarovoy/patch-1 Update provider_client.go
diff --git a/provider_client.go b/provider_client.go index 152a091..53fce73 100644 --- a/provider_client.go +++ b/provider_client.go
@@ -177,6 +177,9 @@ } } + // Set connection parameter to close the connection immediately when we've got the response + req.Close = true + // Issue the request. resp, err := client.HTTPClient.Do(req) if err != nil {