diff options
author | Rory Byrne <[email protected]> | 2010-03-28 22:02:41 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-04-07 11:52:13 +0200 |
commit | 0e502e41948e8835920ce82bb84405b141a00eaa (patch) | |
tree | 1e6e686fd81acec6689d1d6187fba529653d57cf /lib/ssl/src/ssl_server.erl | |
parent | 6fd69d6ca5cea3aae4afce7544ba6b729221885c (diff) | |
download | otp-0e502e41948e8835920ce82bb84405b141a00eaa.tar.gz otp-0e502e41948e8835920ce82bb84405b141a00eaa.tar.bz2 otp-0e502e41948e8835920ce82bb84405b141a00eaa.zip |
Fix ssl:transport_accept/2 to return properly when socket is closed
A badmatch exception is thrown from ssl:transport_accept/2 when
ssl:close/1 is called on the socket. This fixes it to return
{error,closed} as expected.
Diffstat (limited to 'lib/ssl/src/ssl_server.erl')
0 files changed, 0 insertions, 0 deletions