mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
HttpUtils.pm: call the callback if the nonblocking connect refuses to work (Forum #53309)
git-svn-id: https://svn.fhem.de/fhem/trunk@11621 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7c22d6c161
commit
2cabe55965
@ -263,7 +263,8 @@ HttpUtils_Connect($)
|
||||
"HttpUtils_ConnErr", \%timerHash, 0);
|
||||
return undef;
|
||||
} else {
|
||||
return "connect: $!";
|
||||
$hash->{callback}($hash, "connect to $hash->{addr}: $!", "");
|
||||
return undef;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user