Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ostree-fetcher-curl: handle non 404 errors as G_IO_ERROR_TIMED_OUT #2843

Merged
merged 1 commit into from
Oct 18, 2023

Commits on Oct 18, 2023

  1. ostree-repo-pull: add options to configure retry behavior

    This introduces the "retry-all-network-errors" option which
    is enabled by default. This is a behavior change as now
    ostree will retry on requests that fail except when
    they fail with NOT_FOUND. It also introduces the options
    "low-speed-limit-bytes" and "low-speed-time-seconds these"
    map to CURL options only at the moment. Which have defaults
    set following librepo:
    https://github.com/rpm-software-management/librepo/blob/7c9af219abd49f8961542b7622fc82cfdaa572e3/librepo/handle.h#L90
    https://github.com/rpm-software-management/librepo/blob/7c9af219abd49f8961542b7622fc82cfdaa572e3/librepo/handle.h#L96
    Currently these changes only apply when using libcurl.
    Finally this change adds a final option that affects all
    backends to control the max amount of connections of the
    fetcher "max-outstanding-fetcher-requests".
    jmarrero committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    4fb6e6f View commit details
    Browse the repository at this point in the history