2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-09 20:57:11 +00:00

HttpUtils.pm: return in eval leaves only the eval, not the sub (Forum #129230)

git-svn-id: https://svn.fhem.de/fhem/trunk@26420 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2022-09-18 14:56:03 +00:00
parent 881607a2e8
commit cb75c93532

View File

@ -519,6 +519,7 @@ HttpUtils_Connect2NonblockingSSL($$)
"$! ".($SSL_ERROR ? $SSL_ERROR : IO::Socket::SSL::errstr()));
}
};
return if(!$hash->{conn}); # HttpClose was called in the EVAL
if($@) {
my $err = $@;
Log3 $hash, $hash->{loglevel}, $err;