A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/cloudflare/cfssl/commit/152fb8b0d7fb5c8d1fa7c29e81d308e008c0eee9 below:

Add http response close in client post function · cloudflare/cfssl@152fb8b · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-0

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-0

lines changed Original file line number Diff line number Diff line change

@@ -157,6 +157,7 @@ func (srv *server) post(url string, jsonData []byte) (*api.Response, error) {

157 157

return nil, errors.Wrap(errors.APIClientError, errors.ClientHTTPError, err)

158 158

}

159 159

defer req.Body.Close()

160 +

defer resp.Body.Close()

160 161

body, err := ioutil.ReadAll(resp.Body)

161 162

if err != nil {

162 163

return nil, errors.Wrap(errors.APIClientError, errors.IOError, err)

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4