2
0
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:
rudolfkoenig 2014-04-15 07:19:35 +00:00
parent d3e169a0d7
commit 7e0a46aaef

View File

@ -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", "");
}
}