mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
Bugfix: Endless loop if connection is broken.
git-svn-id: https://svn.fhem.de/fhem/trunk@1050 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0609a4865b
commit
ceba2eece5
@ -11,7 +11,7 @@ cmd(arg)
|
||||
function
|
||||
doUpdate()
|
||||
{
|
||||
if(pollConn.readyState != 4)
|
||||
if(pollConn.readyState != 4 || pollConn.status != 200)
|
||||
return;
|
||||
var lines = pollConn.responseText.split("\n");
|
||||
for(var i=0; i < lines.length; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user