ssh: handle that inet:getopts(Socket, [recbuf]) may return {ok, []}
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.

dumbbell/otp,beni55/otp,isvilen/otp,RichMorin/otp,vladdu/otp,lantti/otp,electricimp/otp,isvilen/otp,jemsbhai/otp,haguenau/otp,bsmr-erlang/otp,getong/otp,platinumthinker/otp,weisslj/otp,Teino1978-Corp/erlang-otp,saleyn/otp,neeraj9/otp,NOMORECOFFEE/otp,mikpe/otp,lucafavatella/otp,paladim/otp,c-rack/otp,matwey/otp,bjorng/otp,falkevik/otp,vinoski/otp,bsmr-erlang/otp,derek121/otp,enikki/otp,basho/otp,jamesruan/otp,Teino1978-Corp/erlang-otp,msantos/otp,paulcager/otp,klarna/otp,lantti/otp,cobusc/otp,electricimp/otp,krishnakumar4a4/otp,kvakvs/otp,potatosalad/otp,yangchengjian/otp,entropiae/otp,emile/otp,haguenau/otp,paladim/otp,tuncer/otp,RichMorin/otp,jemsbhai/otp,paulcager/otp,platinumthinker/otp,johanclaesson/otp,sitexa/otp,isvilen/otp,stolen/otp,sdebnath/otp,enikki/otp,RJ/otp,lrascao/otp,bsmr-erlang/otp,neeraj9/otp,fenollp/otp,klarna/otp,ahmedshafeeq/otp,schlagert/otp,dumbbell/otp,johanclaesson/otp,GinjaNinja32/otp,basho/otp,derek121/otp,erlang/otp,tuncer/otp,kvakvs/otp,platinumthinker/otp,bjorng/otp,matwey/otp,lrascao/otp,hairyhum/otp,enikki/otp,aboroska/otp,dumbbell/otp,Teino1978-Corp/erlang-otp,matwey/otp,emacsmirror/erlang,yangchengjian/otp,jinshana/otp,jamesruan/otp,basho/otp,emacsmirror/erlang,theom/otp,lucafavatella/otp,g-andrade/otp,RJ/otp,jj1bdx/otp,schlagert/otp,fenollp/otp,sdebnath/otp,VincentHHL/otp,massemanet/otp,palas/otp,bugs-erlang-org/otp,fenollp/otp,sitexa/otp,jamesruan/otp,jinshana/otp,yangchengjian/otp,RoadRunnr/otp,klarna/otp,jj1bdx/otp,jinshana/otp,emile/otp,psyeugenic/otp,mikpe/otp,ferd/otp,isvilen/otp,release-project/otp,lucafavatella/otp,g-andrade/otp,NOMORECOFFEE/otp,lantti/otp,lhslll/otp,riverrun/otp,jamesruan/otp,potatosalad/otp,legoscia/otp,ader1990/otp,c-rack/otp,lucafavatella/otp,RaimoNiskanen/otp,aboroska/otp,mujiatong/otp,jj1bdx/otp,Teino1978-Corp/erlang-otp,kvakvs/otp,c-rack/otp,NOMORECOFFEE/otp,ahmedshafeeq/otp,release-project/otp,schlagert/otp,electricimp/otp,electricimp/otp,RGafiyatullin/otp,krishnakumar4a4/otp,bsmr-erlang/otp,c-rack/otp,bugs-erlang-org/otp,jj1bdx/otp,RoadRunnr/otp,derek121/otp,erlang/otp,cobusc/otp,kvakvs/otp,psyeugenic/otp,jinshana/otp,palas/otp,aboroska/otp,psyeugenic/otp,ferd/otp,cnbin/otp,paladim/otp,dumbbell/otp,kvakvs/otp,lianghaivv/otp,sammoth-wazoku/otp,release-project/otp,mujiatong/otp,vinoski/otp,erlang/otp,beni55/otp,basho/otp,haguenau/otp,rlipscombe/otp,krishnakumar4a4/otp,uabboli/otp,RoadRunnr/otp,release-project/otp,entropiae/otp,lightcyphers/otp,enikki/otp,VincentHHL/otp,yangchengjian/otp,weisslj/otp,release-project/otp,sdebnath/otp,electricimp/otp,saleyn/otp,bsmr-erlang/otp,mikpe/otp,hairyhum/otp,weisslj/otp,lrascao/otp,sitexa/otp,aboroska/otp,RGafiyatullin/otp,lightcyphers/otp,riverrun/otp,vinoski/otp,awetzel/otp,sdebnath/otp,NOMORECOFFEE/otp,rlipscombe/otp,lemenkov/otp,beni55/otp,gjaldon/otp,c-rack/otp,psyeugenic/otp,krishnakumar4a4/otp,dgud/otp,dgud/otp,RoadRunnr/otp,RGafiyatullin/otp,bjorng/otp,ahmedshafeeq/otp,basho/otp,bjorng/otp,sitexa/otp,benoitc/otp-1,tuncer/otp,vladdu/otp,cobusc/otp,riverrun/otp,sammoth-wazoku/otp,lhslll/otp,jemsbhai/otp,legoscia/otp,emacsmirror/erlang,massemanet/otp,vladdu/otp,VincentHHL/otp,falkevik/otp,lemenkov/otp,RaimoNiskanen/otp,marquisthunder/otp,Teino1978-Corp/erlang-otp,awetzel/otp,g-andrade/otp,stolen/otp,fenollp/otp,ader1990/otp,lantti/otp,GinjaNinja32/otp,marquisthunder/otp,Teino1978-Corp/erlang-otp,getong/otp,RaimoNiskanen/otp,RJ/otp,emacsmirror/erlang,vinoski/otp,potatosalad/otp,stolen/otp,fenollp/otp,lantti/otp,ferd/otp,gjaldon/otp,kvakvs/otp,paulcager/otp,lrascao/otp,entropiae/otp,palas/otp,krishnakumar4a4/otp,emile/otp,erlang/otp,derek121/otp,RaimoNiskanen/otp,vladdu/otp,legoscia/otp,saleyn/otp,yangchengjian/otp,benoitc/otp-1,gjaldon/otp,Teino1978-Corp/erlang-otp,ader1990/otp,sammoth-wazoku/otp,jj1bdx/otp,getong/otp,uabboli/otp,massemanet/otp,krishnakumar4a4/otp,rlipscombe/otp,ahmedshafeeq/otp,vladdu/otp,matwey/otp,cobusc/otp,ader1990/otp,goertzenator/otp,cobusc/otp,yangchengjian/otp,gjaldon/otp,awetzel/otp,lianghaivv/otp,dgud/otp,g-andrade/otp,NOMORECOFFEE/otp,basho/otp,uabboli/otp,schlagert/otp,RichMorin/otp,lhslll/otp,lemenkov/otp,paulcager/otp,weisslj/otp,massemanet/otp,sdebnath/otp,dgud/otp,VincentHHL/otp,g-andrade/otp,jinshana/otp,cnbin/otp,legoscia/otp,emile/otp,bsmr-erlang/otp,hairyhum/otp,paladim/otp,RaimoNiskanen/otp,release-project/otp,cobusc/otp,msantos/otp,dgud/otp,RaimoNiskanen/otp,release-project/otp,derek121/otp,lhslll/otp,cobusc/otp,lightcyphers/otp,legoscia/otp,massemanet/otp,kvakvs/otp,ferd/otp,mikpe/otp,dgud/otp,bjorng/otp,RoadRunnr/otp,stolen/otp,johanclaesson/otp,schlagert/otp,Teino1978-Corp/otp,tuncer/otp,krishnakumar4a4/otp,bsmr-erlang/otp,Teino1978-Corp/otp,vinoski/otp,lhslll/otp,bernardd/otp,aboroska/otp,johanclaesson/otp,matwey/otp,bernardd/otp,uabboli/otp,sammoth-wazoku/otp,bjorng/otp,lrascao/otp,vladdu/otp,mujiatong/otp,ahmedshafeeq/otp,haguenau/otp,benoitc/otp-1,theom/otp,rlipscombe/otp,marquisthunder/otp,kvakvs/otp,jinshana/otp,paulcager/otp,rlipscombe/otp,marquisthunder/otp,benoitc/otp-1,awetzel/otp,Teino1978-Corp/otp,lightcyphers/otp,gjaldon/otp,hairyhum/otp,vic/otp,emacsmirror/erlang,aboroska/otp,vic/otp,RoadRunnr/otp,getong/otp,sammoth-wazoku/otp,bjorng/otp,psyeugenic/otp,paladim/otp,bugs-erlang-org/otp,ferd/otp,vinoski/otp,isvilen/otp,sitexa/otp,bernardd/otp,electricimp/otp,neeraj9/otp,klarna/otp,dumbbell/otp,jemsbhai/otp,palas/otp,klarna/otp,isvilen/otp,ahmedshafeeq/otp,aboroska/otp,bsmr-erlang/otp,basho/otp,matwey/otp,vic/otp,stolen/otp,mujiatong/otp,jamesruan/otp,GinjaNinja32/otp,dgud/otp,lrascao/otp,gjaldon/otp,g-andrade/otp,entropiae/otp,RichMorin/otp,marquisthunder/otp,derek121/otp,benoitc/otp-1,lemenkov/otp,dgud/otp,g-andrade/otp,Teino1978-Corp/otp,saleyn/otp,NOMORECOFFEE/otp,ader1990/otp,derek121/otp,enikki/otp,RGafiyatullin/otp,entropiae/otp,jj1bdx/otp,fenollp/otp,mikpe/otp,jemsbhai/otp,haguenau/otp,uabboli/otp,RJ/otp,schlagert/otp,GinjaNinja32/otp,sdebnath/otp,msantos/otp,platinumthinker/otp,emacsmirror/erlang,jemsbhai/otp,uabboli/otp,dumbbell/otp,falkevik/otp,jj1bdx/otp,RJ/otp,c-rack/otp,entropiae/otp,mikpe/otp,johanclaesson/otp,ahmedshafeeq/otp,lrascao/otp,falkevik/otp,massemanet/otp,rlipscombe/otp,erlang/otp,c-rack/otp,jj1bdx/otp,weisslj/otp,paladim/otp,ader1990/otp,potatosalad/otp,lemenkov/otp,cnbin/otp,theom/otp,Teino1978-Corp/otp,jj1bdx/otp,legoscia/otp,Teino1978-Corp/erlang-otp,g-andrade/otp,neeraj9/otp,platinumthinker/otp,goertzenator/otp,mujiatong/otp,NOMORECOFFEE/otp,riverrun/otp,cnbin/otp,RGafiyatullin/otp,kvakvs/otp,erlang/otp,tuncer/otp,mikpe/otp,getong/otp,mikpe/otp,GinjaNinja32/otp,yangchengjian/otp,riverrun/otp,rlipscombe/otp,lemenkov/otp,potatosalad/otp,vic/otp,bernardd/otp,neeraj9/otp,msantos/otp,saleyn/otp,jamesruan/otp,uabboli/otp,neeraj9/otp,RGafiyatullin/otp,johanclaesson/otp,dumbbell/otp,matwey/otp,tuncer/otp,legoscia/otp,hairyhum/otp,RaimoNiskanen/otp,enikki/otp,potatosalad/otp,jemsbhai/otp,vic/otp,fenollp/otp,lightcyphers/otp,lrascao/otp,derek121/otp,bernardd/otp,psyeugenic/otp,ahmedshafeeq/otp,isvilen/otp,lhslll/otp,RoadRunnr/otp,falkevik/otp,benoitc/otp-1,aboroska/otp,theom/otp,sitexa/otp,legoscia/otp,RichMorin/otp,stolen/otp,aboroska/otp,goertzenator/otp,jemsbhai/otp,ader1990/otp,beni55/otp,lhslll/otp,emacsmirror/erlang,erlang/otp,erlang/otp,entropiae/otp,mujiatong/otp,lantti/otp,haguenau/otp,platinumthinker/otp,dumbbell/otp,hairyhum/otp,lantti/otp,cnbin/otp,saleyn/otp,potatosalad/otp,Teino1978-Corp/otp,isvilen/otp,matwey/otp,platinumthinker/otp,sitexa/otp,Teino1978-Corp/otp,g-andrade/otp,lightcyphers/otp,getong/otp,cnbin/otp,basho/otp,psyeugenic/otp,getong/otp,bernardd/otp,c-rack/otp,falkevik/otp,lightcyphers/otp,potatosalad/otp,getong/otp,msantos/otp,electricimp/otp,vladdu/otp,erlang/otp,VincentHHL/otp,paladim/otp,rlipscombe/otp,lucafavatella/otp,marquisthunder/otp,platinumthinker/otp,emile/otp,lianghaivv/otp,goertzenator/otp,isvilen/otp,goertzenator/otp,lightcyphers/otp,lrascao/otp,tuncer/otp,sitexa/otp,lemenkov/otp,sdebnath/otp,Teino1978-Corp/otp,palas/otp,haguenau/otp,jamesruan/otp,ferd/otp,beni55/otp,lianghaivv/otp,lucafavatella/otp,riverrun/otp,dumbbell/otp,jj1bdx/otp,schlagert/otp,lucafavatella/otp,dgud/otp,klarna/otp,mikpe/otp,potatosalad/otp,gjaldon/otp,vladdu/otp,RaimoNiskanen/otp,bugs-erlang-org/otp,paulcager/otp,dumbbell/otp,massemanet/otp,bugs-erlang-org/otp,stolen/otp,palas/otp,beni55/otp,ferd/otp,johanclaesson/otp,lianghaivv/otp,saleyn/otp,neeraj9/otp,awetzel/otp,RJ/otp,krishnakumar4a4/otp,cnbin/otp,jinshana/otp,goertzenator/otp,enikki/otp,erlang/otp,beni55/otp,RichMorin/otp,RGafiyatullin/otp,tuncer/otp,mikpe/otp,benoitc/otp-1,entropiae/otp,bugs-erlang-org/otp,vinoski/otp,lhslll/otp,RichMorin/otp,ahmedshafeeq/otp,massemanet/otp,emile/otp,vladdu/otp,hairyhum/otp,bugs-erlang-org/otp,release-project/otp,tuncer/otp,lianghaivv/otp,uabboli/otp,isvilen/otp,enikki/otp,bjorng/otp,RGafiyatullin/otp,stolen/otp,paulcager/otp,riverrun/otp,awetzel/otp,haguenau/otp,benoitc/otp-1,bugs-erlang-org/otp,msantos/otp,RichMorin/otp,msantos/otp,johanclaesson/otp,paladim/otp,bjorng/otp,fenollp/otp,lianghaivv/otp,getong/otp,dgud/otp,rlipscombe/otp,emacsmirror/erlang,klarna/otp,theom/otp,schlagert/otp,emile/otp,saleyn/otp,rlipscombe/otp,klarna/otp,falkevik/otp,GinjaNinja32/otp,electricimp/otp,GinjaNinja32/otp,cnbin/otp,fenollp/otp,falkevik/otp,bsmr-erlang/otp,mujiatong/otp,jinshana/otp,RaimoNiskanen/otp,weisslj/otp,hairyhum/otp,lantti/otp,matwey/otp,saleyn/otp,basho/otp,theom/otp,massemanet/otp,potatosalad/otp,awetzel/otp,jamesruan/otp,RJ/otp,mujiatong/otp,sammoth-wazoku/otp,ader1990/otp,beni55/otp,bernardd/otp,VincentHHL/otp,RJ/otp,goertzenator/otp,marquisthunder/otp,legoscia/otp,uabboli/otp,RoadRunnr/otp,gjaldon/otp,palas/otp,weisslj/otp,VincentHHL/otp,weisslj/otp,awetzel/otp,release-project/otp,bjorng/otp,weisslj/otp,cobusc/otp,psyeugenic/otp,VincentHHL/otp,getong/otp,bernardd/otp,vinoski/otp,palas/otp,sammoth-wazoku/otp,lianghaivv/otp,emile/otp,bernardd/otp,goertzenator/otp,marquisthunder/otp,vic/otp,NOMORECOFFEE/otp,GinjaNinja32/otp,sammoth-wazoku/otp,theom/otp,vinoski/otp,theom/otp,paulcager/otp,lucafavatella/otp,ferd/otp,vinoski/otp,vic/otp,emile/otp,msantos/otp,emacsmirror/erlang,vic/otp,lemenkov/otp,electricimp/otp,g-andrade/otp,neeraj9/otp,emacsmirror/erlang,yangchengjian/otp,riverrun/otp,goertzenator/otp,falkevik/otp,ferd/otp,sdebnath/otp,RoadRunnr/otp