mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 19:04:20 +00:00
HttpUtils.pm: fixing close problem for Nonblocking (Forum #40631)
git-svn-id: https://svn.fhem.de/fhem/trunk@9189 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
054c87fc04
commit
8bf82b6ad2
@ -77,7 +77,7 @@ HttpUtils_ConnErr($)
|
||||
if(defined($hash->{FD})) {
|
||||
delete($hash->{FD});
|
||||
delete($selectlist{$hash});
|
||||
$hash->{conn}->close();
|
||||
$hash->{conn}->close() if($hash->{conn});
|
||||
$hash->{callback}($hash, "connect to $hash->{addr} timed out", "");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user