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
cf4082d03e
Use unique variables with list() to prevent unexpected results.
...
PHP Compatibility check for PHP_CodeSniffer error message:
FILE: php-curl-class/scripts/bump_major_version.php
---------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------
6 | ERROR | list() will assign variable from left-to-right since PHP 7.0. Ensure all variables in list() are unique to prevent unexpected
| | results. (PHPCompatibility.Lists.AssignmentOrder.Affected)
---------------------------------------------------------------------------------------------------------------------------------------------
2021-03-05 09:16:56 -05:00
Zach Borboa
5afda350ea
Add link to troubleshooting guide on docs index page
2021-02-19 23:24:06 -05:00
Zach Borboa
23aae398b7
Add PHP 8.0 to continuous integration tests
2021-01-21 18:15:13 -08:00
Zach Borboa
9d4134b830
Use a helper function to access values of private class properties
2020-10-31 21:28:15 -07:00
Zach Borboa
a40cc77eb4
Bump version: 8.8.0 → 8.9.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
43f96a4c8b
Clean up
2020-10-27 19:05:58 -07:00
Zach Borboa
1c0f49423a
Merge pull request #650 from isecret/patch-1
...
examples fixed
2020-10-27 18:54:58 -07:00
Mao Wang
0982719743
update examples
2020-10-28 09:31:37 +08:00
Mao Wang
5a3a4cca9d
update examples
2020-10-28 09:31:03 +08:00
Mao Wang
0e513d3082
update examples
2020-10-28 09:28:02 +08:00
Zach Borboa
e5831f35e1
Add scripts for each PHP version container to run tests.
2020-05-22 20:51:01 -07:00
Zach Borboa
8f5a4604ec
Fix tar extract error due to HTTP redirect
2020-05-18 22:22:45 -07:00
Zach Borboa
25c37e8512
Fix missing rsync error: "sh: 2: rsync: not found"
2020-05-18 22:18:37 -07:00
Zach Borboa
f4c41cb4b7
Add scripts for attaching to running container
2020-05-18 22:16:57 -07:00
Zach Borboa
14317ca210
Fix error: "the input device is not a TTY"
2020-05-18 18:58:43 -07:00
Zach Borboa
877e5b1275
Display error message indicating why execution of tests stopped
2020-05-17 21:04:54 -07:00
Zach Borboa
be8cccc292
Stop execution of tests when a container step fails
2020-05-17 20:10:43 -07:00
Zach Borboa
cec296410a
Clean up
2020-05-17 18:53:13 -07:00
Zach Borboa
17c0697a4d
Update link to continuous integration
2020-05-17 15:32:39 -07:00
Zach Borboa
85c95b187c
Add rate limit test cases using uppercase letters for unit
2020-05-16 23:53:29 -07:00
Zach Borboa
b33bfb93ef
Clean up
2020-05-16 23:51:23 -07:00
Zach Borboa
f5bc12ac56
Add example for using rate limiter via MultiCurl::setRateLimit()
2020-05-16 23:45:59 -07:00
Zach Borboa
c4dfe8d6db
Add files to run php74 tests inside a docker container
2020-05-16 23:17:02 -07:00
Zach Borboa
f850bc73b7
Merge pull request #639 from zachborboa/ratelimiter
...
Implement request rate limiter
2020-05-16 22:40:00 -07:00
Zach Borboa
976008d094
Implement rate limiting requests via MultiCurl::setRateLimit()
2020-05-16 22:01:15 -07:00
Zach Borboa
9c00119ab5
Improve accuracy of timeout call by using microtime()
2020-05-12 22:41:02 -07:00
Zach Borboa
76ae1241cb
Return a json response when calling the timeout test
2020-05-12 10:37:49 -07:00
Zach Borboa
138c0e4d1b
Merge pull request #638 from zachborboa/disabletimeout
...
Implement disableTimeout()
2020-05-09 09:36:17 -07:00
Zach Borboa
ab407d6b25
Implement disableTimeout()
...
Implement Curl::disableTimeout() and MultiCurl::disableTimeout()
2020-05-09 09:19:35 -07:00
Zach Borboa
95f1386da5
Suggest printing some information when troubleshooting
2020-05-01 07:57:02 -07:00
Zach Borboa
1725c8a992
Merge pull request #632 from zachborboa/625
...
Update Url class to handle IPv6 addresses with bracket notation
2020-04-22 22:50:45 -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
1f62ac4428
Fix #606 : Add example for fetching range using Curl::setRange()
2020-04-20 23:03:27 -07:00
Zach Borboa
180273b577
Bump version: 8.7.0 → 8.8.0
8.8.0
2020-04-19 20:39:57 -07:00
Zach Borboa
c78d271b29
Fix #626 : Add MultiCurl example for retrying with a new proxy
2020-04-18 10:40:25 -07:00
Zach Borboa
ea66e3bfb9
Standardize the use import statements
2020-04-17 18:47:59 -07:00
Zach Borboa
2c6d228f58
Use vendor phpunit when available
2020-04-11 12:19:12 -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
8.7.0
2020-02-28 21:02:55 -08:00
Zach Borboa
1b86b63f12
Merge pull request #623 from zachborboa/621
...
Fix use of undefined constant STDERR
2020-02-21 08:37: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