-
-
Notifications
You must be signed in to change notification settings - Fork 479
Closed
Description
Description
downloadFile
runs curl -Ls -o /dev/null -w %{url_effective} url
to get any redirected url.
this downloads the entire file to /dev/null (when fetching an image, can be ~400MB)
on a slow connection, it can time out; thus subverting the next call to curl with the ability to continue a (slow/failed) download
curl version: 8.7.1 (also tested 8.9.1)
a bit of searching+testing suggests to add -I
to only download the headers:
curl -s -L -I -o /dev/null -w '%{url_effective}' url
Version
colima version 0.7.0
git commit: 4b14e8a
runtime: docker
arch: aarch64
client: v27.1.1
server: v27.1.1
limactl version 0.22.0
qemu-img version 9.0.2
Operating System
- macOS Intel <= 13 (Ventura)
- macOS Intel >= 14 (Sonoma)
- Apple Silicon <= 13 (Ventura)
- Apple Silicon >= 14 (Sonoma)
- Linux
Output of colima status
No response
Reproduction Steps
Expected behaviour
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
No labels