mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-17 23:46:03 +00:00
HttpUtils.pm: fix timerHash for read-timeout (Forum #29397)
git-svn-id: https://svn.fhem.de/fhem/trunk@7050 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
05ac9b1d6d
commit
64ffdad9bb
@ -225,7 +225,7 @@ HttpUtils_Connect2($)
|
||||
$hash->{FD} = $hash->{conn}->fileno();
|
||||
$hash->{buf} = "";
|
||||
$hash->{NAME} = "" if(!defined($hash->{NAME}));
|
||||
my %timerHash = ( hash => {$hash} );
|
||||
my %timerHash = ( hash => $hash );
|
||||
$hash->{directReadFn} = sub() {
|
||||
my $buf;
|
||||
my $len = sysread($hash->{conn},$buf,65536);
|
||||
|
Loading…
x
Reference in New Issue
Block a user