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 d22bfc0db8
commit 4d45ffdfa6

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));