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