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
Zach Borboa
db99d69aac
Update readme
2020-02-19 20:03:30 -08:00
Zach Borboa
f57d5f7908
Add PHP 7.4 to list of compatible versions
2020-02-19 19:45:12 -08:00
Zach Borboa
cbe9ab7d56
Merge pull request #617 from zachborboa/php74
...
Add PHP 7.4 to continuous integration tests
2020-02-19 18:34:09 -08:00
Zach Borboa
c58b8be799
Run test server for PHP 7.4 continuous integration tests
2020-02-19 17:28:57 -08:00
Zach Borboa
9d46178d97
Use Xenial for gd support.
...
Error message:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-gd * is missing from your system. Install or enable PHP's gd extension.
2020-02-19 17:26:17 -08:00
Zach Borboa
8a43e9a09f
Add PHP 7.4 to continuous integration tests
2020-02-19 17:25:48 -08:00
Zach Borboa
aa7bffa4b2
Merge pull request #620 from zachborboa/619
...
Fix continuous integration tests for PHP 7.3.
2020-02-17 16:17:30 -08:00
Zach Borboa
8b15ec5b43
Fix continuous integration tests for PHP 5.3.
...
Error message:
PHP Fatal error: Call to undefined method CurlTest\CurlTest::assertStringContainsString() in [...]
2020-02-17 16:08:23 -08:00
Zach Borboa
7340e8ede3
Fix continuous integration tests for PHP 5.3.
...
Error message:
Parse error: syntax error, unexpected T_CLASS, expecting T_STRING or T_VARIABLE or '$' in [...]
2020-02-17 16:02:40 -08:00
Zach Borboa
947848bd2a
Fix continuous integration tests for PHP 7.0.
...
There was 1 error:
1) CurlTest\CurlTest::testMultipartFormDataContentType
Error: Call to undefined method CurlTest\CurlTest::assertStringContainsString()
./tests/PHPCurlClass/PHPCurlClassTest.php:590
There was 1 failure:
1) CurlTest\CurlTest::testRequiredOptionCurlOptReturnTransferEmitsWarning
Failed asserting that exception of type "Error" matches expected exception "\PHPUnit\Framework\Error\Warning".
Message was: "Call to undefined method CurlTest\CurlTest::expectWarning()" at
./tests/PHPCurlClass/PHPCurlClassTest.php:3036
2020-02-17 15:28:31 -08:00
Zach Borboa
702e4a13ea
Fix continuous integration tests for PHP 7.1.
...
There was 1 failure:
1) CurlTest\CurlTest::testRequiredOptionCurlOptReturnTransferEmitsWarning
Failed asserting that exception of type "Error" matches expected exception "\PHPUnit\Framework\Error\Warning".
Message was: "Call to undefined method CurlTest\CurlTest::expectWarning()" at
./tests/PHPCurlClass/PHPCurlClassTest.php:3036
2020-02-17 14:44:45 -08:00
Zach Borboa
2fd406a500
Fix continuous integration tests for PHP 7.3.
...
There were 3 errors:
1) CurlTest\CurlTest::testMultipartFormDataContentType
TypeError: Argument 2 passed to PHPUnit\Framework\Assert::assertContains() must be iterable, string given, [...]
2) CurlTest\CurlTest::testJsonEncode
ErrorException: json_encode error: Malformed UTF-8 characters, possibly incorrectly encoded
3) CurlTest\CurlTest::testRequiredOptionCurlOptReturnTransferEmitsWarning
CURLOPT_RETURNTRANSFER is a required option
2020-02-17 13:34:53 -08:00
Zach Borboa
fa3cfd37d5
Merge pull request #615 from zachborboa/pr608
...
Implement Curl::setRange() and MultiCurl::setRange()
2020-01-14 21:09:12 -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
82c0880ab5
Clean up
2020-01-14 20:56:42 -08:00
Zach Borboa
a020585a73
Fix #608 : Implement Curl::setRange() and MultiCurl::setRange()
2020-01-14 20:55:41 -08:00
Zach Borboa
9fde3ff1e9
Merge pull request #614 from zachborboa/pr609
...
Implement Curl::setFile() and MultiCurl::setFile()
2020-01-14 20:46:42 -08:00
Zach Borboa
1d0f6cfc84
Fix #609 : Implement Curl::setFile() and MultiCurl::setFile()
2020-01-14 20:36:19 -08:00
Zach Borboa
54be433a72
Merge pull request #607 from zachborboa/602
...
Fix lingering temporary download file when using MultiCurl::addDownload
8.6.2
2019-11-17 00:37:31 -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
fe1a65b741
Unify file names of download example script
2019-10-31 20:44:05 -07:00
Zach Borboa
33b748c71a
Unify Curl and MultiCurl examples
2019-10-31 20:40:52 -07:00
Zach Borboa
04d1db9d54
Rename download file examples
2019-10-31 20:34:36 -07:00
Zach Borboa
27ba06ed0a
Merge pull request #604 from zachborboa/602
...
Unify download implementation of MultiCurl::addDownload with Curl::download
2019-10-14 00:26:29 -07: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
11dbef81fe
Fix #603 : Add note on getting progress indicators to work
2019-10-13 22:28:45 -07:00
Zach Borboa
a418962c43
Bump version: 8.6.0 → 8.6.1
8.6.1
2019-08-04 21:18:26 -07:00
Zach Borboa
418f4cba1d
Fix #596 : Suggest updating curl version used by php
2019-07-20 20:37:56 -07:00
Zach Borboa
f27059b170
Remove notice when request is made and test flag is not set.
...
Message:
PHP Notice: Undefined index: PHP_CURL_CLASS_TEST_MODE_ENABLED in
./php-curl-class/tests/PHPCurlClass/server.php on line 4
2019-07-18 19:06:52 -07:00
Zach Borboa
e782f41cd8
Merge pull request #589 from zachborboa/master
...
Use camelCase for ArrayUtil function names and deprecate old snake_case names
2019-06-09 22:46:57 -07:00