mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
HTTPMOD.pm: fixed two bugs
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7021 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
3660b19e60
commit
ccac485d24
@ -29,6 +29,7 @@
|
|||||||
# 2014-3-13 added noShutdown and disable attributes
|
# 2014-3-13 added noShutdown and disable attributes
|
||||||
# 2014-4-8 fixed noShutdown check
|
# 2014-4-8 fixed noShutdown check
|
||||||
# 2014-4-9 added Attribute timeout as suggested by Frank
|
# 2014-4-9 added Attribute timeout as suggested by Frank
|
||||||
|
# 2014-11-18 fixed timeout attribute and redirects
|
||||||
#
|
#
|
||||||
|
|
||||||
package main;
|
package main;
|
||||||
@ -259,7 +260,8 @@ sub HTTPMOD_GetUpdate($)
|
|||||||
} else {
|
} else {
|
||||||
delete $hash->{noshutdown};
|
delete $hash->{noshutdown};
|
||||||
};
|
};
|
||||||
|
$hash->{timeout} = AttrVal($name, "timeout", 2);
|
||||||
|
$hash->{redirects} = 0;
|
||||||
HttpUtils_NonblockingGet($hash);
|
HttpUtils_NonblockingGet($hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user