mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-30 02:42:53 +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]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue