From 57d41984503aed077b5c5ab7b234353eb8467d97 Mon Sep 17 00:00:00 2001 From: spikeyspik <24636111+spikeyspik@users.noreply.github.com> Date: Wed, 14 Jan 2026 21:43:37 +0300 Subject: [PATCH] fix: incorrect RoundTrip implementation --- configure.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.go b/configure.go index ab6df64..934a0dc 100644 --- a/configure.go +++ b/configure.go @@ -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) {