Zach Borboa
443f5ddebf
Fix unsupported short hand array for PHP 5.3
2016-09-04 21:27:01 -07:00
Zach Borboa
fd834a8592
Add local load test example
2016-09-04 21:15:17 -07:00
Zach Borboa
f4fffbc486
Add ability to set the number of concurrent requests
2016-09-04 20:54:57 -07:00
Zach Borboa
35fbade352
Rename windowSize to concurrency
2016-09-04 20:50:01 -07:00
Zach Borboa
e77f853ab6
Make windowSize private
2016-09-04 20:48:41 -07:00
Zach Borboa
7ca7ac3629
Use request-line header and effectiveUrl for assertions
2016-09-04 03:03:24 -07:00
Zach Borboa
a7b9042871
List PHP 7.1 compatibility
2016-09-04 01:48:25 -07:00
Zach Borboa
67e7992386
Clean up
2016-09-04 01:45:03 -07:00
Zach Borboa
f9cf113a86
Remove Curl::getResponseCookies(), use Curl::responseCookies directly instead
2016-09-04 01:43:10 -07:00
Zach Borboa
7038db4538
Make internal method private
2016-09-04 01:42:17 -07:00
Zach Borboa
c2d04221e7
Add MultiCurl::setPort()
2016-09-04 01:19:27 -07:00
Zach Borboa
35ac500e03
Improve cookie handling for multicurl requests.
...
Fix Curl::responseCookies set in headerCallback() being overwritten during multicurl request.
Use rfc cookie encoding when using MultiCurl::setCookie().
Make MultiCurl::responseCookies publicly accessible.
2016-09-04 01:12:06 -07:00
Zach Borboa
4c47bac9fa
Add multicurl test for setHeader and individual overrides
2016-09-04 00:13:49 -07:00
Zach Borboa
21134e119e
Add MultiCurl::setOpts()
2016-09-04 00:07:31 -07:00
Zach Borboa
6c542c4784
Update readme methods
2016-09-03 23:20:18 -07:00
Zach Borboa
82b64c2290
Add MultiCurl::setConnectTimeout()
2016-09-03 23:19:42 -07:00
Zach Borboa
c634e65a19
Add MultiCurl::setCookieString()
2016-09-03 23:18:22 -07:00
Zach Borboa
946f4a74a1
Fix undefined index when option not set for MultiCurl::getOpt()
2016-09-03 23:06:25 -07:00
Zach Borboa
90560e5d9c
Add phpcs to require-dev
2016-09-03 22:53:04 -07:00
Zach Borboa
a02c8aa5f2
Fix undefined index when option not set
2016-09-03 22:49:41 -07:00
Zach Borboa
5087433ba1
Start built-in web server for PHP 7.1 continuous integration tests
2016-09-02 17:27:05 -07:00
Zach Borboa
2e08fc596a
Bump major version
6.0.0
2016-09-02 17:18:01 -07:00
Zach Borboa
522fe31dd0
Merge pull request #387 from zachborboa/updates
...
Implement a more efficient handling of requests in parallel
2016-09-02 04:15:11 -07:00
Zach Borboa
3789e2077b
Implement a more efficient handling of requests in parallel.
...
A window size is now used to set the maximum number of active requests at any given time. Each time a request is
completed, a new request is added from the queue until all requests are processed. The result is a more continuous
stream of requests rather than a burst of requests that may cause servers to quickly become overloaded.
2016-09-02 03:57:53 -07:00
Zach Borboa
b907159c2f
Move download complete handling to Curl::exec()
2016-09-02 01:30:16 -07:00
Zach Borboa
e55c556601
Refactor for queuing
2016-09-02 01:09:23 -07:00
Zach Borboa
75a944dd90
Clean up
2016-09-02 00:43:41 -07:00
Zach Borboa
25a764fcb0
Include syntax check in fails to exit on
2016-09-02 00:41:36 -07:00
Zach Borboa
976f837499
Use xargs for syntax check to fail on error
2016-09-02 00:40:28 -07:00
Zach Borboa
1d786ca0d2
Merge pull request #386 from zachborboa/updates
...
Add PHP 7.1 to continuous integration tests
2016-09-02 00:25:16 -07:00
Zach Borboa
7f66973a8c
Fix #384 : Add multi curl file upload example
2016-09-01 23:42:52 -07:00
Zach Borboa
ae6a3e5c28
Append existing error message when not empty
2016-09-01 23:14:01 -07:00
Zach Borboa
156b99ad30
Include PHP 7.1 in continuous integration tests
2016-09-01 01:30:57 -07:00
Zach Borboa
ecbe65a449
Merge pull request #385 from zachborboa/master
...
Include additional information in error message
2016-09-01 00:27:44 -07:00
Zach Borboa
c118e61ebe
Update example callback as response is not always a string
2016-09-01 00:08:31 -07:00
Zach Borboa
14d651b4ad
Fix memory leak when using Curl::setDefaultDecoder()
2016-09-01 00:05:15 -07:00
Zach Borboa
03ea037827
Clean up
2016-09-01 00:04:15 -07:00
Zach Borboa
d70c770cc1
Include additional error code information in error message when possible
2016-08-31 23:31:59 -07:00
Zach Borboa
6e636f02c8
Add warning against using error code from curl_errno() for multi handles
2016-08-31 23:31:32 -07:00
Zach Borboa
6dc65e994c
Set Curl::curlErrorMessage from target handle
2016-08-31 21:39:34 -07:00
Zach Borboa
d210489936
Merge pull request #383 from zachborboa/master
...
Ensure Curl::setOpts() returns true when all options are successfully set
2016-08-30 00:08:13 -07:00
Zach Borboa
1edc13b5eb
Clean up docblocks
2016-08-29 23:05:01 -07:00
Zach Borboa
8db91c79c7
Ensure Curl::setOpts() returns true when all options are successfully set
2016-08-29 22:44:48 -07:00
Zach Borboa
dbaedee55c
Merge pull request #381 from zachborboa/master
...
PSR2 clean up
2016-08-24 00:44:36 -07:00
Zach Borboa
39c21041a5
Clean up per PSR2
2016-08-24 00:25:38 -07:00
Zach Borboa
81be853f51
Show progress of the phpcs run
2016-08-22 19:46:10 -07:00
Zach Borboa
87d28efff6
Ignore vendor directory when running phpcs
2016-08-22 02:44:28 -07:00
Zach Borboa
34b951eb68
Merge pull request #378 from zachborboa/cleanup
...
Highlight continuous integration errors
2016-08-19 03:02:29 -07:00
Zach Borboa
e79c7feaf6
Add Google Spreadsheet example
2016-08-19 02:45:52 -07:00
Zach Borboa
0dcd1eb2b0
Remove newline before else
2016-08-19 00:39:19 -07:00