Added non-parallel fallback to MultiHttpClient when curl is unavailable
authorBill Pirkle <bpirkle@wikimedia.org>
Thu, 12 Jul 2018 22:07:54 +0000 (17:07 -0500)
committerTim Starling <tstarling@wikimedia.org>
Mon, 23 Jul 2018 00:19:59 +0000 (00:19 +0000)
commit0584339f5edf42b7f90d9cfbeb45820f483fe1f7
tree4ddf53a8761c8e757cc8c625e73dbfe4f5a9d023
parentcd5372409f5e93f8c93f2a8c7b32d8828f059321
Added non-parallel fallback to MultiHttpClient when curl is unavailable

If the curl extension is not available, fall back to the existing
HttpRequestFactory and associated classes. Also added related phpunit tests.

Bug: T139169
Change-Id: I2f9d4acbb491bce28d7105e124c5cee7e16e86d7
includes/http/CurlHttpRequest.php
includes/http/MWHttpRequest.php
includes/libs/MultiHttpClient.php
languages/i18n/en.json
languages/i18n/qqq.json
tests/phpunit/includes/MultiHttpClientTest.php [new file with mode: 0644]