Last modified: 2014-10-13 10:52:44 UTC
Constants CURLOPT_CLOSEPOLICY, CURLCLOSEPOLICY_LEAST_RECENTLY_USED and others are not defined as they were removed in PHP 5.6.0. Tests should probably be updated to only test the ones relevant for the CurlHttpRequest class to function properly. If those include constants removed in PHP 5.6, then we should fix the code to use a different method in PHP 5.6. See also: * http://php.net/manual/en/curl.constants.php#constant.curlopt-closepolicy * https://gerrit.wikimedia.org/r/#/c/159159/ * https://bugzilla.wikimedia.org/show_bug.cgi?id=70570 Example of HttpRequest failing on PHP 5.6: https://travis-ci.org/wikimedia/mediawiki-core/jobs/37159310 (lines 305...342)
Change 162825 had a related patch set uploaded by Dan-nl: Updated cURL constants array https://gerrit.wikimedia.org/r/162825
Change 162825 merged by jenkins-bot: HttpTest: Update cURL constants array https://gerrit.wikimedia.org/r/162825
Anything left to do here, or did the merged patch fix this bug report?
https://travis-ci.org/Krinkle/mediawiki-core/jobs/37801162 (current master on PHP 5.6) no longer shows any CURL related errors.