aboutsummaryrefslogtreecommitdiffstats
path: root/src/gun_tls_proxy.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-03-25 10:30:10 +0100
committerLoïc Hoguin <[email protected]>2020-03-25 10:30:10 +0100
commit3deadc01ee34e27cfba49b78debcf8006d7d7e1c (patch)
tree12acd159d281fc8ced721f01a2465b184c9b39ad /src/gun_tls_proxy.erl
parentc1c9341255bdd6664e4c69093cc2e84d7dc43bb9 (diff)
downloadgun-3deadc01ee34e27cfba49b78debcf8006d7d7e1c.tar.gz
gun-3deadc01ee34e27cfba49b78debcf8006d7d7e1c.tar.bz2
gun-3deadc01ee34e27cfba49b78debcf8006d7d7e1c.zip
Fix crash in gun:info/1 when socket is closed
The call to Transport:sockname/1 can return an error if the socket was closed as we were gathering info. In that case we simply do not fill in the address and port information.
Diffstat (limited to 'src/gun_tls_proxy.erl')
0 files changed, 0 insertions, 0 deletions