mirror of
https://github.com/friendica/friendica
synced 2025-04-29 13:44:23 +02:00
Improved check for invalid certificates
This commit is contained in:
parent
896fd3fc91
commit
abe3fd7605
4 changed files with 25 additions and 41 deletions
|
@ -167,6 +167,10 @@ class CurlResult implements ICanHandleHttpResponses
|
|||
$this->isSuccess = false;
|
||||
}
|
||||
|
||||
if (empty($this->returnCode) && empty($this->header) && empty($this->body)) {
|
||||
$this->isSuccess = false;
|
||||
}
|
||||
|
||||
if (!$this->isSuccess) {
|
||||
Logger::debug('debug', ['info' => $this->info]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue