Skip to content

Commit

Permalink
fix(request.go): remove finalizer statement
Browse files Browse the repository at this point in the history
  • Loading branch information
h2non committed May 31, 2017
1 parent d011c68 commit 1f1771a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions request.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import (
"gopkg.in/h2non/gentleman.v1/plugins/multipart"
"gopkg.in/h2non/gentleman.v1/plugins/query"
"gopkg.in/h2non/gentleman.v1/plugins/url"
"gopkg.in/h2non/gentleman.v1/utils"
)

const (
Expand Down Expand Up @@ -321,6 +320,5 @@ func NewDefaultTransport(dialer *net.Dialer) *http.Transport {
Dial: dialer.Dial,
TLSHandshakeTimeout: TLSHandshakeTimeout,
}
utils.SetTransportFinalizer(transport)
return transport
}

0 comments on commit 1f1771a

Please sign in to comment.