Description
Depending on their location, users might need to modify the timeout settings in the HTTP client used by oras to improve handling of network issues they encounter.
Currently, we're using Oras retry.DefaultClient, which sets default values.
With this task, we want to let users decide which values to use.
A similar task has already been completed for the legacy OCM, and this task is for the new OCM. We want to ensure that both can use the same HTTP configuration.
type: http.config.ocm.software/v1alpha1
# --- Timeouts ---
timeout: "0s"
tcpDialTimeout: "30s"
tcpKeepAlive: "30s"
tlsHandshakeTimeout: "10s"
responseHeaderTimeout: "10s"
idleConnTimeout: "90s"
Done Criteria
Description
Depending on their location, users might need to modify the timeout settings in the HTTP client used by oras to improve handling of network issues they encounter.
Currently, we're using Oras
retry.DefaultClient, which sets default values.With this task, we want to let users decide which values to use.
A similar task has already been completed for the legacy OCM, and this task is for the new OCM. We want to ensure that both can use the same HTTP configuration.
Done Criteria