Robust
Well-known member
Code:
An exception occurred: Unable to Connect to ssl://www.apantic.com:443. Error #110: Connection timed out in /home/vagrant/apantic/dev1/library/Zend/Http/Client/Adapter/Socket.php on line 235
I get that error if apantic.com is ever down or if XF is unable to connect. I checked XenForo_Helper_Http and there are a bunch of 'safe' options, but none to say if you can't connect 5 times just return null or whatever. Instead it returns a XF error.
Is there any way to set a maxtries and in which case it returns false or null or something?