diff options
author | Ingela Anderton Andin <[email protected]> | 2015-05-29 10:15:51 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2015-05-29 14:59:52 +0200 |
commit | 92a9ddf4c4169c486c1b3bfe958464a90b553289 (patch) | |
tree | 3bbdc161a96426baae206470a8e1441b4ffbe516 /lib/ssh/src/ssh_userauth.hrl | |
parent | f3fefbae24a2569a13b538d80d0e99129963ebef (diff) | |
download | otp-92a9ddf4c4169c486c1b3bfe958464a90b553289.tar.gz otp-92a9ddf4c4169c486c1b3bfe958464a90b553289.tar.bz2 otp-92a9ddf4c4169c486c1b3bfe958464a90b553289.zip |
ssh: handle that inet:getopts(Socket, [recbuf]) may return {ok, []}
If something bad happens and the socket is closed the
call inet:getopts(Socket, [recbuf]) may return {ok, []}. We
want to treat this as a fatal error and terminate gracefully.
The same goes for the case that inet:getopts returns {error, Reason}
that was not handled either.
Diffstat (limited to 'lib/ssh/src/ssh_userauth.hrl')
0 files changed, 0 insertions, 0 deletions