Skip to content

Modify rustup-init.sh to support retrying the download of rustup-init #2853

Open
@yilmazdurmaz

Description

@yilmazdurmaz

Describe the problem you are trying to solve

I am a newbie trying to install rustup. it is having difficulties on downloading required packages from static.rust-lang.org because the connection constantly drops randomly, it tries to reconnect 3 times all starting from zero (does the host not have resume capability!?, I dont know) then just fails the install progress. each reconnection fails at different percentages, one was at 15% while another at 95%.

Describe the solution you'd like

Instead of halting the progress, inform them and prompt users if they want to try for more.

Also, check beforehand that if the host has resume capability and again inform users about that. currently I am not sure who to blame for starting over the download progress.

Notes

as of now, I could not complete the installation and unfortunately lost appetite towards rust for now. I hope problems would be solved till next time.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions