mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-19 14:03:47 +02:00
But a proper executable
This commit is contained in:
parent
dce19a1107
commit
e7aa9b9770
4 changed files with 5 additions and 7 deletions
|
@ -15,6 +15,7 @@
|
|||
%%====================================================================
|
||||
|
||||
start(_StartType, _StartArgs) ->
|
||||
application:ensure_all_started(ssl),
|
||||
epp_proxy_sup:start_link().
|
||||
|
||||
%%--------------------------------------------------------------------
|
||||
|
|
|
@ -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]),
|
||||
|
|
|
@ -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]),
|
||||
|
|
|
@ -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},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue