If curl_exec() fails without an error message (curl_error() still returning the empty string, but curl_exec() returning FALSE), do not try to json_decode() the response, as this crashes the application.
Failing to execute the cURL request should result in a Call::STATUS_FAILED.
Can someone explain which scenarios might lead to this behavior? I saw a cURL error code 77, but maybe there's more to cater for …
If
curl_exec()
fails without an error message (curl_error()
still returning the empty string, butcurl_exec()
returningFALSE
), do not try tojson_decode()
the response, as this crashes the application.Failing to execute the cURL request should result in a
Call::STATUS_FAILED
.Can someone explain which scenarios might lead to this behavior? I saw a cURL error code 77, but maybe there's more to cater for …