Skip to content

Do not cancel downloads behind proxy just because it is slow #5717

@lostiniceland

Description

@lostiniceland
PS C:\Dev\git\project> cargo build
 Downloading serde_json v1.0.11
warning: spurious network error (2 tries remaining): [28] Timeout was reached (Operation too slow. Less than 10 bytes/sec transferred the last 1705032704 seconds)
warning: spurious network error (1 tries remaining): [28] Timeout was reached (Operation too slow. Less than 10 bytes/sec transferred the last 1705032704 seconds)
error: unable to get packages from source

Our company proxy is also scanning the downloaded artefacts. While doing so, it still sends some data (5 bytes/sec), probably in order to keep the connection alive.
Cargo thinks this is to slow and stops with an error.

Can we have an option to ignore this check?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions