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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user