mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-30 12:07:09 +00:00
HttpUtils.pm: Fix BlockingCall with callback (c)26_tahoma.pm (Forum #80712)
git-svn-id: https://svn.fhem.de/fhem/trunk@15569 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7b16870ced
commit
57e0443ad6
@ -853,6 +853,7 @@ sub
|
|||||||
HttpUtils_BlockingGet($)
|
HttpUtils_BlockingGet($)
|
||||||
{
|
{
|
||||||
my ($hash) = @_;
|
my ($hash) = @_;
|
||||||
|
delete $hash->{callback}; # Forum #80712
|
||||||
$hash->{hu_blocking} = 1;
|
$hash->{hu_blocking} = 1;
|
||||||
my ($isFile, $fErr, $fContent) = HttpUtils_File($hash);
|
my ($isFile, $fErr, $fContent) = HttpUtils_File($hash);
|
||||||
return ($fErr, $fContent) if($isFile);
|
return ($fErr, $fContent) if($isFile);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user