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:
parent
04f8f95de5
commit
86acb9e53c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user