mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 18:56:03 +00:00
HttpUtils: closing connection on error
git-svn-id: https://svn.fhem.de/fhem/trunk@5529 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d3e169a0d7
commit
7e0a46aaef
@ -60,6 +60,7 @@ HttpUtils_ConnErr($)
|
||||
if(defined($hash->{FD})) {
|
||||
delete($hash->{FD});
|
||||
delete($selectlist{$hash});
|
||||
$hash->{conn}->close();
|
||||
$hash->{callback}($hash, "connect to $hash->{addr} timed out", "");
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user