More network heisenbugs. Here's yet another one in buildkite/dmd Build:
```
Preparing working directory | 2s
-- | --
| Running commands | 0s
| Print environment | 0s
| Linux ci-agent-be765bef-9cd1-4979-8732-a90a52bd9c0e 4.4.0-135-generic #161-Ubuntu SMP Mon Aug 27 10:45:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
| git version 2.7.4
| GNU Make 4.1
| Built for x86_64-pc-linux-gnu
| Copyright (C) 1988-2014 Free Software Foundation, Inc.
| License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| /bin/bash: line 4: --version: command not found
| c++ (Ubuntu 5.4.0-6ubuntu1~16.04.10) 5.4.0 20160609
| Copyright (C) 2015 Free Software Foundation, Inc.
| This is free software; see the source for copying conditions. There is NO
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
| GNU gold (GNU Binutils for Ubuntu 2.26.1) 1.11
| GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
| Copyright (C) 2016 Free Software Foundation, Inc.
| License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law. Type "show copying"
| and "show warranty" for details.
| This GDB was configured as "x86_64-linux-gnu".
| Type "show configuration" for configuration details.
| For bug reporting instructions, please see:
| <http://www.gnu.org/software/gdb/bugs/>.
| Find the GDB manual and other documentation resources online at:
| <http://www.gnu.org/software/gdb/documentation/>.
| For help, type "help".
| Type "apropos word" to search for commands related to "word".
| /bin/bash: line 8: dmd: command not found
| warning: failed to remove build/ldc-developers-ldc/bootstrap
| 🚨 Error: The command exited with status 1
```
Comment #1 by dlang-bot — 2020-10-18T15:46:20Z
@Geod24 created dlang/dmd pull request #11884 "Fix 21313 - Use curl's retry-all-errors option" fixing this issue:
- Fix 21313 - Use curl's retry-all-errors option
Curl would only retry 400s, 500s, and timeout, not connection closed by peer
or other kind of transition connections.
Using '--retry-all-errors' fixes this, however care must be put into avoiding
the usage of pipes (see manual).
Additionally, the total timeout was increased to 5 minutes as requested by Walter,
and the connection timeout was also extended to reflect to be more tolerant.
https://github.com/dlang/dmd/pull/11884
Comment #2 by pro.mathias.lang — 2020-10-18T15:47:13Z
*** Issue 21262 has been marked as a duplicate of this issue. ***
Comment #3 by robert.schadek — 2024-12-13T19:12:09Z