2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 23:06:37 +00:00

FHEMWEB: added pending for thos who set HTTPS on the current connection

git-svn-id: https://svn.fhem.de/fhem/trunk@5809 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2014-05-10 10:36:58 +00:00
parent 04f8f95de5
commit 86acb9e53c

View File

@ -279,7 +279,7 @@ FW_Read($)
}
$hash->{BUF} .= $buf;
if($defs{$FW_wname}{SSL}) {
if($defs{$FW_wname}{SSL} && $c->can('pending')) {
while($c->pending()) {
sysread($c, $buf, 1024);
$hash->{BUF} .= $buf;