aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gun_tls_proxy_cb.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gun_tls_proxy_cb.erl b/src/gun_tls_proxy_cb.erl
index 3591e7f..801ceef 100644
--- a/src/gun_tls_proxy_cb.erl
+++ b/src/gun_tls_proxy_cb.erl
@@ -20,6 +20,7 @@
-export([controlling_process/2]).
-export([send/2]).
-export([setopts/2]).
+-export([close/1]).
%% The connect/4 function is called by the process
%% that calls ssl:connect/2,3,4.
@@ -35,3 +36,6 @@ send(Socket, Data) ->
setopts(Socket, Opts) ->
gun_tls_proxy:cb_setopts(Socket, Opts).
+
+close(_) ->
+ ok.