SIGN IN SIGN UP

fix(install): add download timeout to asset fetch in install.sh (#1292)

* fix(install): add download timeout to asset fetch in install.sh

fix(install): add timeout to asset download in install.sh

The release binary download had no --connect-timeout or --max-time,
while the sha256sum.txt download right after it already had both.
On a stalled or unreachable connection this leaves the installer
hanging indefinitely instead of failing with a clear error, which is
especially disruptive for `curl | sh` usage in CI or automated setups.

Add the same timeout flags used for the checksum fetch, with a
higher --max-time (120s vs 15s) since the binary is larger than the
checksum file.

* fix(install): update max-time and enable progress bar for curl

Co-authored-by: Tao Xin <wu2196674@icloud.com>

* fix(install): sync timeout and progress inside install.ps1 too

Same as install.sh 
just synced that

* fix(install): replace max-time with speed-limit for stall detection

better approach than max-time thing

---------

Co-authored-by: Tao Xin <wu2196674@icloud.com>
S
Sameer Al Sahab committed
127c443778711ef2cd2c67d9f45cf4cf47371525
Parent: f6f0f79
Committed by GitHub <noreply@github.com> on 9/17/2026, 8:04:21 AM