diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2021-04-13 16:52:15 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2021-04-13 18:51:26 -0300 |
commit | ff58301bd9755f8e86e35dbc16d925b1fc65105a (patch) | |
tree | 781335ed3fa8a66f02c8c66276e5fa7086ee3fea /COPYING | |
parent | a07bc4c9e0be86b4edee78b9a7ef924eb9e2faaf (diff) | |
download | luarocks-ff58301bd9755f8e86e35dbc16d925b1fc65105a.tar.gz luarocks-ff58301bd9755f8e86e35dbc16d925b1fc65105a.tar.bz2 luarocks-ff58301bd9755f8e86e35dbc16d925b1fc65105a.zip |
use mirrors when downloading rocks even if manifest succeeds
LuaRocks generally only checked whether to use a mirror in the first
operation, when it fetches the manifest. If the manifest fails to load, it
switches to the mirror and everything works from there. But if the manifest
fetches ok and the then actual rock download fails with a 504, it gives up,
instead of trying that in a mirror as well. Changing that to make it retry
every download on a mirror when the base URL matches one configured in
cfg.rocks_servers should make it much more resilient.
Fixes #1299.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions