From: Michael Gernoth Date: Mon, 25 May 2015 14:17:17 +0000 (+0200) Subject: hmland: handle commands spanning packet-boundaries X-Git-Tag: v0.100~11 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/commitdiff_plain/b229c8789d8ad902ebc32da0e6f0ec95871b45e8?hp=b229c8789d8ad902ebc32da0e6f0ec95871b45e8 hmland: handle commands spanning packet-boundaries 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). ---