From 0ff6915d05e48819c0c858242aa771592f2cb0f7 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sun, 11 Apr 2021 09:07:25 +0000 Subject: [PATCH] HttpUtils.pm: fix warning with same hash for redirect (Forum #120173) git-svn-id: https://svn.fhem.de/fhem/trunk@24215 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/HttpUtils.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fhem/FHEM/HttpUtils.pm b/fhem/FHEM/HttpUtils.pm index 96075d46e..491a8ed6e 100644 --- a/fhem/FHEM/HttpUtils.pm +++ b/fhem/FHEM/HttpUtils.pm @@ -862,6 +862,7 @@ HttpUtils_ParseAnswer($) # Request the URL with the Digest response if($hash->{callback}) { + delete($hash->{hu_inProgress}); HttpUtils_NonblockingGet($hash); return ("", "", 1); } else { @@ -886,6 +887,7 @@ HttpUtils_ParseAnswer($) Log3 $hash, $hash->{loglevel}, "HttpUtils $hash->{displayurl}: ". "Redirect to ".($hash->{hideurl} ? "" : $hash->{url}); if($hash->{callback}) { + delete($hash->{hu_inProgress}); HttpUtils_NonblockingGet($hash); return ("", "", 1); } else {