Unexpected timeout when using `curl` to fetch a large file on Alpine Linux 3.16
I'm upgrading from an older version and I'm experiencing an unexpected timeout while trying to download a large file using `curl` on Alpine Linux 3.16... The command I'm using is as follows: ```bash curl -O http://example.com/largefile.zip ``` The file size is approximately 1.5 GB. Initially, I thought it might be an scenario with the server, but I can successfully download the same file from a different Linux distribution (Ubuntu 22.04) without any problems. I checked the `curl` timeout settings, and both the connection and overall timeout are set to default values: ```bash curl --verbose --max-time 300 --connect-timeout 30 -O http://example.com/largefile.zip ``` However, the download fails with the following behavior message after a few minutes: ``` curl: (28) Operation timed out after 1800000 milliseconds with 0 bytes received ``` I also tried increasing the `--max-time` value to 600, but the same timeout occurs. My network connection is stable, and I can ping the server without packet loss. Additionally, I ensured that there are no proxy settings interfering by checking the environment variables: ```bash echo $http_proxy echo $https_proxy ``` Both of these return empty, indicating that I'm not using a proxy. I'm running the latest version of `curl` available in Alpine's package repository. Has anyone faced a similar scenario or have any insight into what might be causing this timeout in Alpine? Any suggestions for possible troubleshooting steps would be appreciated. The stack includes Bash and several other technologies. Any help would be greatly appreciated!