Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ type clientAdapter struct {

// RoundTrip implements fasthttp.RoundTripper by calling the wrapped client's Do method
func (ca *clientAdapter) RoundTrip(hc *fasthttp.HostClient, req *fasthttp.Request, resp *fasthttp.Response) (retry bool, err error) {
err = ca.client.Do(req, resp)
return false, err
return ca.client.RoundTrip(hc, req, resp)
}

func configureDialer(d *Dialer) {
Expand Down
Loading