aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_tcp.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-07-27 16:53:26 +0200
committerLoïc Hoguin <[email protected]>2019-07-27 16:54:15 +0200
commit145b9af4bdbb85e2f83959ee8abaa4d9207a4529 (patch)
tree5be8e222957b00eafac16f006e26bb90ac46bf81 /src/gun_tcp.erl
parent50ff97bf82cd146cb289e5b9fbd864bbcc9c30d9 (diff)
downloadgun-145b9af4bdbb85e2f83959ee8abaa4d9207a4529.tar.gz
gun-145b9af4bdbb85e2f83959ee8abaa4d9207a4529.tar.bz2
gun-145b9af4bdbb85e2f83959ee8abaa4d9207a4529.zip
Fix ssl and other types
Diffstat (limited to 'src/gun_tcp.erl')
-rw-r--r--src/gun_tcp.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gun_tcp.erl b/src/gun_tcp.erl
index 615e925..a4f9e96 100644
--- a/src/gun_tcp.erl
+++ b/src/gun_tcp.erl
@@ -41,7 +41,7 @@ messages() -> {tcp, tcp_closed, tcp_error}.
%% and the actual connect step.
-spec domain_lookup(inet:ip_address() | inet:hostname(),
- inet:port_number(), [gen_tcp:connect_option()] | [ssl:connect_option()], timeout())
+ inet:port_number(), [gen_tcp:connect_option()], timeout())
-> {ok, lookup_info()} | {error, atom()}.
domain_lookup(Address, Port0, Opts0, Timeout) ->
{Mod, Opts} = inet:tcp_module(Opts0, Address),