diff options
author | Loïc Hoguin <[email protected]> | 2020-03-25 10:30:10 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2020-03-25 10:30:10 +0100 |
commit | 3deadc01ee34e27cfba49b78debcf8006d7d7e1c (patch) | |
tree | 12acd159d281fc8ced721f01a2465b184c9b39ad /src/gun_app.erl | |
parent | c1c9341255bdd6664e4c69093cc2e84d7dc43bb9 (diff) | |
download | gun-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_app.erl')
0 files changed, 0 insertions, 0 deletions