On Tue, Aug 24, 2010 at 8:16 AM, steve donovan
<[email protected]> wrote:
> HTTP proxies are a fact of life in the corporate universe, and since
> we are not always using wget (or curl) anymore, the direct socket
> download code must respect any proxy. This patch reads the value of
> PROXY that has been set in the per-user or system configuration file
> (e.g. ~/.luarocks/config.lua). Note that it does need an explicit
> http://, unlike the http_proxy shell variable. (Initially I tried to
> read this but sudo processes don't get any variables which were set by
> the user.)
>
> This is around line 497, luarocks/fs/lua.lua - this version of
> download() will be used if LuaSocket is available.

Committed, thanks -- I just renamed the config variable from PROXY to proxy.

-- Hisham

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

Reply via email to