aboutsummaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2021-04-13 16:52:15 -0300
committerHisham Muhammad <hisham@gobolinux.org>2021-04-13 18:51:26 -0300
commitff58301bd9755f8e86e35dbc16d925b1fc65105a (patch)
tree781335ed3fa8a66f02c8c66276e5fa7086ee3fea /COPYING
parenta07bc4c9e0be86b4edee78b9a7ef924eb9e2faaf (diff)
downloadluarocks-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