On Sun, Feb 6, 2011 at 7:55 AM, Alexander Gladysh <[email protected]> wrote:
> Hi, Steve, list!
>
> Either I went crazy from the lack of sleep, or LuaRocks 2.0.4.1 is
> acting really weird.

The weird behavior of apparently downloading the incorrect file was
caused by a silly bug whose fix I just pushed.

The problem of failing to download, however, is to be caused by
LuaSocket failing to auto-redirect. LuaSocket's http module normally
auto-redirects, but in this case it is redirecting from http to https,
which should invoke calling a different module...

So I pushed a second commit to allow http_request to follow redirects
hopping from one module to another.

An immediate workaround for 2.0.4.1 is to use https in the rockspec's
source.url field.

-- Hisham

_______________________________________________
Luarocks-developers mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/luarocks-developers

Reply via email to