2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-25 03:39:21 +00:00

00_FBAHAHTTP.pm: reset command stack on connection problems (Forum #58147)

git-svn-id: https://svn.fhem.de/fhem/trunk@17656 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-11-01 09:56:34 +00:00
parent 1235fdb569
commit 96fd581c60

View File

@ -244,6 +244,7 @@ FBAHAHTTP_ProcessStack($)
if(!defined($_[2]) || $_[2] eq "") {
if($hash->{RetriedCmd}) {
Log3 $name, 1, "No sensible respone after reconnect, giving up";
$hash->{CmdStack} = ();
return;
}
return if(FBAHAHTTP_connect($hash));