DoRedirects proxies redirect handling through doRedirectsWithClient so the load-balanced transport mirrors fasthttp.Client semantics despite fasthttp.LBClient not exposing DoRedirects directly.
(req *fasthttp.Request, resp *fasthttp.Response, maxRedirects int)
| 171 | // load-balanced transport mirrors fasthttp.Client semantics despite |
| 172 | // fasthttp.LBClient not exposing DoRedirects directly. |
| 173 | func (l *lbClientTransport) DoRedirects(req *fasthttp.Request, resp *fasthttp.Response, maxRedirects int) error { |
| 174 | return doRedirectsWithClient(req, resp, maxRedirects, l.client) |
| 175 | } |
| 176 | |
| 177 | func (l *lbClientTransport) CloseIdleConnections() { |
| 178 | forEachHostClient(l.client, func(hc *fasthttp.HostClient) { |
nothing calls this directly
no test coverage detected