You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Components that use the confighttp to initialize an HTTP Client are not able to define the maximum number of redirection the client should perform. The provided client uses the default CheckRedirect http configuration:
// If CheckRedirect is nil, the Client uses its default policy,
// which is to stop after 10 consecutive requests.
Is your feature request related to a problem? Please describe.
Components that use the
confighttp
to initialize an HTTP Client are not able to define the maximum number of redirection the client should perform. The provided client uses the defaultCheckRedirect
http configuration:Use case: open-telemetry/opentelemetry-collector-contrib#34623
Describe the solution you'd like
Configuration option to limit the number of redirections, if non provided, the client should continue to work as it is (default redirections)
The text was updated successfully, but these errors were encountered: