aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gun.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gun.erl b/src/gun.erl
index daa5c62..bb7ac1d 100644
--- a/src/gun.erl
+++ b/src/gun.erl
@@ -294,6 +294,7 @@ info(ServerPid) ->
}} = sys:get_state(ServerPid),
{ok, {SockIP, SockPort}} = Transport:sockname(Socket),
#{
+ socket => Socket,
transport => Transport:name(),
protocol => Protocol:name(),
sock_ip => SockIP,