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
Zach Borboa
30b9bcb76b
Add --color=always to grep and egrep commands
2016-08-19 00:37:32 -07:00
Zach Borboa
18b5ad7e78
Require both braces on else statement line
2016-08-19 00:25:23 -07:00
Zach Borboa
400cf8b0a2
Exit with error count
2016-08-19 00:06:55 -07:00
Zach Borboa
258593be2f
Merge pull request #377 from zachborboa/master
...
Bump minor version
5.1.0
2016-08-18 19:39:55 -07:00
Zach Borboa
5877dd0933
Bump minor version
2016-08-18 19:27:24 -07:00
Zach Borboa
91b45f21a1
Merge pull request #375 from zachborboa/master
...
Fix "Too many open files" error
2016-08-15 23:56:08 -07:00
Zach Borboa
a2918325ae
Fix "Too many open files" error when adding hundreds of downloads using MultiCurl:addDownload()
2016-08-15 23:41:46 -07:00
Zach Borboa
58a6568cab
Return immediately when already multicurl has already started
2016-08-15 00:39:26 -07:00
Zach Borboa
e31718fbfe
Remove negation
2016-08-15 00:30:09 -07:00
Zach Borboa
484d87fe2f
Merge pull request #373 from zachborboa/master
...
Use explicit argument separator when building url
2016-08-12 02:17:58 -07:00
Zach Borboa
849137a95e
Use explicit argument separator when building url
2016-08-12 02:01:23 -07:00
Zach Borboa
5fd3b4b3bf
Add additional more examples link
2016-08-12 01:39:54 -07:00
Zach Borboa
783594a582
Merge pull request #372 from zachborboa/371
...
Merge #371
2016-08-11 21:02:10 -07:00
Zach Borboa
004021f376
Clean up
2016-08-11 20:49:59 -07:00
Zach Borboa
ea7e649308
Set content-length header when it can be determined
2016-08-11 20:47:47 -07:00
Zach Borboa
294aad0260
Remove trailing whitespace
2016-08-11 20:28:44 -07:00
Gor Martsen
8a377052bc
Fix documentation
2016-08-11 11:58:40 -04:00
Gor Martsen
4f16a605aa
Add Search request
2016-08-11 11:54:18 -04:00
Gor Martsen
3f94e02f35
Add custom request support
2016-08-10 17:38:23 -04:00
Zach Borboa
f619176a0e
Merge pull request #370 from zachborboa/master
...
Remove unnecessary function call
2016-08-10 10:19:59 -07:00
Zach Borboa
35df88a9c5
Remove unnecessary function call
2016-08-10 02:51:46 -07:00