]> git.zerfleddert.de Git - hmcfgusb/commitdiff
hmland: handle commands spanning packet-boundaries
authorMichael Gernoth <michael@gernoth.net>
Mon, 25 May 2015 14:17:17 +0000 (16:17 +0200)
committerMichael Gernoth <michael@gernoth.net>
Mon, 25 May 2015 14:17:17 +0000 (16:17 +0200)
Previously each command which crossed packet boundaries (because
there were many commands in a packet) was wrongly executed as
2 seperate commands. This is now fixed by reading from the
network until a \r or \n is seen and only then executing the
command.
Fixes crashes of the hmcfgusb when fhem reconnects and sends a
huge list of known devices ('+'-packets).


No differences found
Impressum, Datenschutz