Skip to content

Commit 57d4198

Browse files
committed
fix: incorrect RoundTrip implementation
1 parent d3758a5 commit 57d4198

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

configure.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ type clientAdapter struct {
1818

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

2524
func configureDialer(d *Dialer) {

0 commit comments

Comments
 (0)