Skip to content

Conversation

FranciscoTGouveia
Copy link
Contributor

Fixes #4439.

Besides increasing the default timeout from 30 seconds to 3 minutes, a new environment variable (RUSTUP_DOWNLOAD_TIMEOUT) is introduced to allow users to override this value.

Copy link
Contributor

@djc djc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to see that you are now passing Duration by value!

This change is needed to allow us to pass an argument for the creation
of the client, as it is being done in `rustls_client()`.
@FranciscoTGouveia FranciscoTGouveia marked this pull request as ready for review August 13, 2025 15:01
…ng download timeout

As some (corporate) firewalls take too much time to verify the
downloads, the timeout is reached and the user cannot complete its
installation.

Besides changing the timeout from 30 secs to 3 mins, a new environment
variable is introduced to allow users to override the timeout value to
their taste.
@rami3l rami3l added this pull request to the merge queue Aug 14, 2025
Merged via the queue into rust-lang:master with commit 3326a3b Aug 14, 2025
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Download TimedOut on company firewall
3 participants