02_HTTPAPI: contrib version
git-svn-id: https://svn.fhem.de/fhem/trunk@28902 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -252,10 +252,13 @@ sub HTTPAPI_Read {
|
||||
return if (!$chash);
|
||||
$chash->{encoding} = $encoding;
|
||||
$chash->{cname} = $name;
|
||||
$chash->{infix} = $hash->{INFIX};
|
||||
$chash->{CD}->blocking(0);
|
||||
return;
|
||||
}
|
||||
|
||||
$infix = $hash->{infix};
|
||||
|
||||
# read data
|
||||
my $buf;
|
||||
my $ret = sysread($hash->{CD}, $buf, 2048);
|
||||
|
||||
Reference in New Issue
Block a user