From ccac485d2470e412bba7806e8b9c529a068ea25d Mon Sep 17 00:00:00 2001 From: ststrobel <> Date: Wed, 19 Nov 2014 19:28:15 +0000 Subject: [PATCH] HTTPMOD.pm: fixed two bugs git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7021 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/98_HTTPMOD.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FHEM/98_HTTPMOD.pm b/FHEM/98_HTTPMOD.pm index e765ddad9..e8d5af116 100755 --- a/FHEM/98_HTTPMOD.pm +++ b/FHEM/98_HTTPMOD.pm @@ -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); }