Skip to content

Commit

Permalink
Prevent request from force-closing connection (gojek#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
sohamkamani authored and rShetty committed Oct 29, 2018
1 parent 107338e commit fe3abb7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions hystrix/hystrix_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,6 @@ func (hhc *Client) Delete(url string, headers http.Header) (*http.Response, erro

// Do makes an HTTP request with the native `http.Do` interface
func (hhc *Client) Do(request *http.Request) (*http.Response, error) {
request.Close = true

var response *http.Response
var err error

Expand Down

0 comments on commit fe3abb7

Please sign in to comment.