From cb75c9353224bcba882466678bbf80567c3c7d91 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 18 Sep 2022 14:56:03 +0000 Subject: [PATCH] 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 --- fhem/FHEM/HttpUtils.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/FHEM/HttpUtils.pm b/fhem/FHEM/HttpUtils.pm index 5fba7d3f9..700625eb2 100644 --- a/fhem/FHEM/HttpUtils.pm +++ b/fhem/FHEM/HttpUtils.pm @@ -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;