But a proper executable

This commit is contained in:
Maciej Szlosarczyk 2019-05-27 19:48:41 +03:00
parent dce19a1107
commit e7aa9b9770
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
4 changed files with 5 additions and 7 deletions

View file

@ -15,6 +15,7 @@
%%====================================================================
start(_StartType, _StartArgs) ->
application:ensure_all_started(ssl),
epp_proxy_sup:start_link().
%%--------------------------------------------------------------------

View file

@ -100,7 +100,6 @@ read_length(Socket) ->
read_frame(Socket, FrameLength) ->
case gen_tcp:recv(Socket, FrameLength) of
{ok, Data} ->
io:format("Frame: ~p~n", [Data]),
{ok, Data};
{error, Reason} ->
io:format("Error: ~p~n", [Reason]),

View file

@ -111,7 +111,6 @@ read_length(Socket) ->
read_frame(Socket, FrameLength) ->
case ssl:recv(Socket, FrameLength) of
{ok, Data} ->
io:format("Frame: ~p~n", [Data]),
{ok, Data};
{error, Reason} ->
io:format("Error: ~p~n", [Reason]),

View file

@ -4,15 +4,14 @@
{relx, [{release, {epp_proxy, "0.1.0"},
[epp_proxy,
hackney,
sasl]},
sasl,
ssl,
xmerl]},
{sys_config, "./config/sys.config"},
{vm_args, "./config/vm.args"},
{dev_mode, true},
{include_erts, false},
{extended_start_script, true}]
{include_erts, true}]
}.
{profiles, [{prod, [{relx, [{dev_mode, false},