diff options
author | CarlosEDP <me@carlosedp.com> | 2015-07-01 14:13:43 -0300 |
---|---|---|
committer | CarlosEDP <me@carlosedp.com> | 2015-07-03 16:40:25 -0300 |
commit | 8de84f1af04a716357dbc5473f7daf74cb31f44a (patch) | |
tree | 5a29a4dd0dc8fcd413424d9a266031732fdc822e /src/rebar3.erl | |
parent | 9906fdc25e3769d07b0de78a18501c7a681e6dc9 (diff) |
Added support for proxy on rebar3 based on environment variables.
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r-- | src/rebar3.erl | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl index c501709..13f6017 100644 --- a/src/rebar3.erl +++ b/src/rebar3.erl @@ -273,13 +273,5 @@ start_and_load_apps() -> application:start(public_key), application:start(ssl), inets:start(), - inets:start(httpc, [{profile, hex}]), - http_opts(). - -http_opts() -> - Opts = [{max_sessions, 4}, - {max_keep_alive_length, 4}, - {keep_alive_timeout, 120000}, - {max_pipeline_length, 4}, - {pipeline_timeout, 60000}], - httpc:set_options(Opts, hex). + inets:start(httpc), + rebar_utils:set_httpc_options(). |