Zach Borboa
159542c3cf
Bump version: 8.9.2 → 8.9.3
2021-04-29 10:13:53 -04:00
Zach Borboa
7865d3d76a
Remove short array syntax for PHP 5.3 compatibility
2021-04-29 10:13:19 -04:00
Zach Borboa
45db373722
Bump version: 8.9.1 → 8.9.2
2021-03-17 10:47:06 -04:00
Zach Borboa
05a1a21090
Remove official support of HHVM
...
As of HHVM 4.0, PHP is no longer supported:
"With this release, we no longer aim to be compatible with PHP"
"We are considering removing support for <?php in the next release [...]"
2021-03-17 09:33:50 -04:00
Zach Borboa
b94ce189b3
Add properties MultiCurl::startTime and MultiCurl::stopTime
2021-03-17 00:06:15 -04:00
Zach Borboa
1ef5fce3df
Decrease curl_multi_select() timeout so pending requests may have more accurate start times
2021-03-16 21:02:58 -04:00
Zach Borboa
eb57bdabbd
Bump version: 8.9.0 → 8.9.1
2021-03-14 15:37:55 -04:00
Zach Borboa
af08135139
Fix flaky rate limit tests caused by inconsistent sleep times
2021-03-14 00:07:54 -05:00
Philipp Keck
933e0bb76b
Fix close() under PHP8
...
Fixes #662
At least on some platforms, maybe always with PHP8, is_resource(curl_init())===false because it returns the new \CurlHandle type instead.
2021-03-13 18:23:09 -05:00
Zach Borboa
eac149a259
Clean up
2021-03-13 17:37:47 -05:00
Zach Borboa
03eedeabd4
Use identical comparison operator
2021-03-12 22:00:36 -05:00
Zach Borboa
3fb1838579
Clean up
2021-03-11 23:04:34 -05:00
Zach Borboa
ca1c6fb801
Temporarily make function private for now
2021-03-11 22:59:04 -05:00
harry
ff2a183c34
Added Curl::fastDownload() for faster downloads using multiple connections.
2021-03-11 22:54:41 -05:00
Zach Borboa
a40cc77eb4
Bump version: 8.8.0 → 8.9.0
2020-10-31 20:47:32 -07:00
Zach Borboa
3d8e4c38c2
Allow passing an indexed array to MultiCurl::setHeaders()
2020-10-31 14:59:35 -07:00
Zach Borboa
bebefa431c
Consider CaseInsensitiveArray an associative array.
2020-10-31 12:32:19 -07:00
Zach Borboa
86ae2ce786
Fix ArrayUtil::isArrayAssoc() erroring with a CaseInsensitiveArray.
...
Error message:
array_keys() expects parameter 1 to be array, object given
2020-10-31 11:25:49 -07:00
Zach Borboa
37c605f9e4
Fix #651 : Allow passing an indexed array to Curl::setHeaders()
2020-10-30 21:52:43 -07:00
Zach Borboa
cea618a6c1
Update docblock with possible exceptions thrown
2020-10-30 21:32:43 -07:00
Zach Borboa
cec296410a
Clean up
2020-05-17 18:53:13 -07:00
Zach Borboa
976008d094
Implement rate limiting requests via MultiCurl::setRateLimit()
2020-05-16 22:01:15 -07:00
Zach Borboa
ab407d6b25
Implement disableTimeout()
...
Implement Curl::disableTimeout() and MultiCurl::disableTimeout()
2020-05-09 09:19:35 -07:00
Zach Borboa
75c9fc144b
Fix #625 : Update Url class to handle IPv6 addresses with bracket notation.
2020-04-22 22:18:47 -07:00
Zach Borboa
180273b577
Bump version: 8.7.0 → 8.8.0
2020-04-19 20:39:57 -07:00
Zach Borboa
85c9a1a5e9
Clean up
2020-04-10 19:31:28 -07:00
harry
09006e0e26
Implement setInterface()
...
Implement Curl::setInterface() and MultiCurl::setInterface()
2020-04-10 12:02:41 +05:30
Zach Borboa
73ec46ed20
Bump version: 8.6.1 → 8.7.0
2020-02-28 21:02:55 -08:00
Zach Borboa
7c93a1b746
Fix use of undefined constant STDERR under certain conditions.
...
Error message:
Use of undefined constant STDERR - assumed 'STDERR' (this will throw
an Error in a future version of PHP)
2020-02-21 08:19:55 -08:00
Zach Borboa
cf9ab59780
Use setFile()
2020-01-14 21:01:04 -08:00
Zach Borboa
15a6a4dd98
Use setRange()
2020-01-14 20:58:42 -08:00
Zach Borboa
a020585a73
Fix #608 : Implement Curl::setRange() and MultiCurl::setRange()
2020-01-14 20:55:41 -08:00
Zach Borboa
1d0f6cfc84
Fix #609 : Implement Curl::setFile() and MultiCurl::setFile()
2020-01-14 20:36:19 -08:00
Zach Borboa
2d591c3b7c
Fix lingering temporary download file when using MultiCurl::addDownload() ( #602 )
2019-11-17 00:19:57 -08:00
Zach Borboa
7b70bc2697
Fix #602 : Unify download implementation of MultiCurl::addDownload with Curl::download
2019-10-14 00:08:41 -07:00
Zach Borboa
a418962c43
Bump version: 8.6.0 → 8.6.1
2019-08-04 21:18:26 -07:00
Zach Borboa
505663a55d
Use camelCase for ArrayUtil function names and deprecate old snake_case names
2019-06-09 22:26:18 -07:00
Zach Borboa
9a538f3a6b
Reduce number of ops
2019-05-12 21:13:10 -07:00
Zach Borboa
73bf10e265
Bump version: 8.5.1 → 8.6.0
2019-05-12 01:22:01 -07:00
Zach Borboa
0857023319
Fix #572,#582: Add MultiCurl::setProxies() to make multicurl requests with multiple proxies
2019-05-12 01:01:57 -07:00
Zach Borboa
8e5a0a29c3
Correct implementation of MultiCurl::setProxyAuth()
2019-05-11 23:04:55 -07:00
Zach Borboa
1e615d340e
Replace usage of is_null() with strict comparison operator
2019-05-11 11:57:32 -07:00
Zach Borboa
03d4ffea4f
Use is_file() as file_exists() also checks whether a directory exists
2019-05-11 09:40:02 -07:00
Zach Borboa
9e4eacca2d
Clean up
2019-05-10 03:00:06 -07:00
Zach Borboa
6f76666ee5
Clarify documentation for Curl::setRetry() and MultiCurl::setRetry()
2019-05-03 00:35:30 -07:00
Zach Borboa
ff95a3c56f
Bump patch version
2019-04-19 22:57:47 -07:00
Zach Borboa
62d5390ad7
Fix #579 : Correct implementation of Curl::setProxyAuth()
2019-04-19 22:37:55 -07:00
Zach Borboa
2b387e3ef1
Bump minor version
2019-01-06 22:43:45 -08:00
Zach Borboa
35a32a7a77
Fix #567 : Add proxy support for MultiCurl
2019-01-05 00:43:21 -08:00
Zach Borboa
d45e6c17b6
Bump minor version
2018-12-19 08:35:45 -08:00