FHEMWEB: added pending for thos who set HTTPS on the current connection
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5809 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user