2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

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
This commit is contained in:
rudolfkoenig 2021-04-11 09:07:25 +00:00
parent b775a60217
commit 6dc543bb8c

View File

@ -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} ? "<hidden>" : $hash->{url});
if($hash->{callback}) {
delete($hash->{hu_inProgress});
HttpUtils_NonblockingGet($hash);
return ("", "", 1);
} else {