Hi guys,

This is something interesting I found updating my Windows LR to 2.0.3.

I posted a patch which went with 2.0.3, which covered the case where
we are downloading using LuaSocket through a proxy. And yes, the code
is there - but the fs.download function body is repeated!

http://github.com/keplerproject/luarocks/blob/master/src/luarocks/fs/lua.lua

check, first body starts at line 468 (that uses proxy)

second body starts at  line 513 (without proxy) immediately
afterwards.  It of course wins the battle for visibiility ;)

After I tore out the second body, my LR is seeing the online world nicely...

steve d.

PS. I know, I should have checked it out, but I was running my patched
2.0.2 when testing the proxy stuff.

PPS. For Lua for Windows, a useful thing to notice is that the local
config file is %LUA_DEV%\luarocks_config.lua.

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

Reply via email to