arkhi-digital/silverstripe-cloudflare

Implement configurable cURL timeout, and handle errors

Closed this issue · 0 comments

If for example I'm using a hostname that CloudFlare doesn't like, the curlRequest method will time out at the PHP defined time limit, and give me nothing useful to look at.

A user configurable timeout limit would be nice.

Also - handling/displaying error messages that indicate a cURL problem.