Closed
Description
codebird-php 2.7 failed when I gave it the image http://interestingengineering.com/wp-content/uploads/2015/08/braincontrol.png
I investigated and there was a timeout problem at:
curl_setopt($ch, _CURLOPT_TIMEOUT_MS, 5000);
curl_setopt($ch, _CURLOPT_CONNECTTIMEOUT_MS, 2000);
I solved it by doubling the values. (I'm sure this was overkill but I don't want to see the problem again.) My new code is:
curl_setopt($ch, _CURLOPT_TIMEOUT_MS, 10000);
curl_setopt($ch, _CURLOPT_CONNECTTIMEOUT_MS, 4000);