aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gun.erl')
-rw-r--r--src/gun.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gun.erl b/src/gun.erl
index eeaaa1e..3edc698 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -102,8 +102,8 @@
host :: inet:hostname(),
port :: inet:port_number(),
opts :: opts(),
- keepalive_ref :: reference(),
- socket :: inet:socket() | ssl:sslsocket(),
+ keepalive_ref :: undefined | reference(),
+ socket :: undefined | inet:socket() | ssl:sslsocket(),
transport :: module(),
protocol :: module(),
protocol_state :: any()