mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-01 15:44:52 +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:
parent
b775a60217
commit
6dc543bb8c
@ -862,6 +862,7 @@ HttpUtils_ParseAnswer($)
|
|||||||
|
|
||||||
# Request the URL with the Digest response
|
# Request the URL with the Digest response
|
||||||
if($hash->{callback}) {
|
if($hash->{callback}) {
|
||||||
|
delete($hash->{hu_inProgress});
|
||||||
HttpUtils_NonblockingGet($hash);
|
HttpUtils_NonblockingGet($hash);
|
||||||
return ("", "", 1);
|
return ("", "", 1);
|
||||||
} else {
|
} else {
|
||||||
@ -886,6 +887,7 @@ HttpUtils_ParseAnswer($)
|
|||||||
Log3 $hash, $hash->{loglevel}, "HttpUtils $hash->{displayurl}: ".
|
Log3 $hash, $hash->{loglevel}, "HttpUtils $hash->{displayurl}: ".
|
||||||
"Redirect to ".($hash->{hideurl} ? "<hidden>" : $hash->{url});
|
"Redirect to ".($hash->{hideurl} ? "<hidden>" : $hash->{url});
|
||||||
if($hash->{callback}) {
|
if($hash->{callback}) {
|
||||||
|
delete($hash->{hu_inProgress});
|
||||||
HttpUtils_NonblockingGet($hash);
|
HttpUtils_NonblockingGet($hash);
|
||||||
return ("", "", 1);
|
return ("", "", 1);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user