summaryrefslogtreecommitdiff
path: root/ext/curl/multi.c
Commit message (Collapse)AuthorAgeFilesLines
* remove false dupXinchen Hui2018-01-081-10/+5
|
* year++Xinchen Hui2018-01-021-1/+1
|
* Bump libcurl requirement to 7.12.1Nikita Popov2017-12-191-2/+0
| | | | | | | | | | | The existence of the following functions is now guaranteed: * curl_reset() * curl_strerror() * curl_multi_strerror() * curl_share_strerror() libcurl 7.12.1 has been released more than 13 years ago and is available even in RHEL 4.
* Fixed wrong usage of old ZPP API.Dmitry Stogov2017-06-191-1/+1
|
* Avoid useless dereferences and separations during paramter passing.Dmitry Stogov2017-06-191-6/+6
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Migrate curl to new parameters APISara Golemon2016-12-281-30/+39
| | | | Plus a handful of char*->zend_string* conversions
* Implement curl server pushDavey Shafik2016-06-271-0/+106
|
* Refactor easy handle lookupDavey Shafik2016-06-271-29/+38
|
* Add curl_multi/share_errno() curl_share_strerror()Pierrick Charron2016-06-261-6/+40
| | | | | | | | | Add 3 new functions : - curl_multi_errno() - curl_share_errno() - curl_share_strerror() https://wiki.php.net/rfc/new-curl-error-functions
* Expose some of the new curl constants to PHP userspacePierrick Charron2016-04-291-0/+7
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
| * Fixed bug #67643 (curl_multi_getcontent returns '' when ↵Jille Timmermans2014-11-301-2/+5
| | | | | | | | CURLOPT_RETURNTRANSFER isn't set)
* | Fixed Bug #69998 curl multi leaking memoryPierrick Charron2015-08-011-2/+2
| | | | | | | | | | | | Fix the pointer address passed to the comparator and call zend_list_delete instead of zend_list_close to avoid closing the resource if still used.
* | Sorry, missed here should be checkedXinchen Hui2015-05-081-2/+3
| |
* | revert previously change to thisXinchen Hui2015-05-081-1/+2
| |
* | use zval_get_longXinchen Hui2015-05-061-4/+2
| |
* | Use specialized macro for string zval creationDmitry Stogov2015-03-121-1/+1
| |
* | Cleanup resource handling APIsXinchen Hui2015-02-021-20/+44
| |
* | Revert "Revert "Fixed warning "(null)(): supplied resource is not a valid ↵Xinchen Hui2015-02-021-3/+9
| | | | | | | | | | | | cURL handle resource in Unknown on line 0""" This reverts commit e78dd7ade2ac5e617bc5f515a04d1e1d87bd53ee.
* | Revert "Fixed warning "(null)(): supplied resource is not a valid cURL ↵Xinchen Hui2015-01-301-9/+3
| | | | | | | | | | | | handle resource in Unknown on line 0"" This reverts commit 348be58f869359513436f8dae44692c4c235c9dd.
* | Fixed warning "(null)(): supplied resource is not a valid cURL handle ↵Xinchen Hui2015-01-301-3/+9
| | | | | | | | resource in Unknown on line 0"
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-10/+10
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-18/+17
| |
* | Merge branch 'pull-request/728'Stanislav Malyshev2014-11-301-2/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | * pull-request/728: Add a test for bug #67643 (curl_multi_getcontent returns '' when RETURNTRANSFER isn't set) Fixed bug #67643 (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set) Conflicts: ext/curl/multi.c
| * | Fixed bug #67643 (curl_multi_getcontent returns '' when ↵Jille Timmermans2014-07-171-2/+5
| |/ | | | | | | CURLOPT_RETURNTRANSFER isn't set)
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | master renames phase 7PRE_AST_MERGEAnatol Belski2014-08-251-2/+2
| |
* | master renames phase 1Anatol Belski2014-08-251-17/+17
| |
* | ported ext/curlAnatol Belski2014-08-191-7/+7
| |
* | basic macro replacements, all at onceAnatol Belski2014-08-191-13/+13
| |
* | Use reference counting instead of zval duplicationDmitry Stogov2014-06-051-3/+2
| |
* | Fixed build with high version libcurlXinchen Hui2014-05-091-0/+1
| |
* | Refactoring ext/curl (only compilable now)Xinchen Hui2014-05-091-43/+39
|/
* Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2014-04-131-0/+2
|\ | | | | | | | | * PHP-5.4: Fix #66562: Consistency bug where curl_multi_getcontent behaves different from curl_exec
| * Fix #66562: Consistency bug where curl_multi_getcontent behaves different ↵Freek2014-04-131-0/+2
| | | | | | | | | | | | | | from curl_exec curl_exec returns an empty string when data is received from a domain that returns zero content. curl_multi_getcontent returned null. Now it returns an empty string fixing the incosistency
| * Bump yearXinchen Hui2014-01-031-1/+1
| |
| * Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | Bump yearXinchen Hui2014-01-031-1/+1
| |
* | Improve resource management for curl handlePierrick Charron2013-01-051-9/+4
| | | | | | | | | | | | Previous implementation was using its own refcounting (uses field of the php_curl struct). zend_list_add/remove already implements its own refcount, so we don't need to use an other one.
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | Support for curl_strerror and curl_multi_strerrorPierrick Charron2012-12-231-1/+22
| | | | | | | | | | | | Add the support for both curl_strerror and curl_multi_strerror. Those function will return a string describing the error code passed in the argument errornum
* | Add curl_multi_setopt and clean curl_share_setoptPierrick Charron2012-12-231-0/+54
| | | | | | | | | | curl_multi_setopt is now available and supports CURLMOPT_PIPELINING and CURLMOPT_MAXCONNECTS
* | Merge branch 'PHP-5.4'Pierrick Charron2012-09-221-0/+3
|\ \ | |/ | | | | | | | | * PHP-5.4: Avoid calling select if maxfd returned by curl_multi_fdset is -1 Fixing NEWS file
| * Avoid calling select if maxfd returned by curl_multi_fdset is -1Pierrick Charron2012-09-221-0/+3
| | | | | | | | | | | | | | | | | | As per libcurl documentation : When libcurl returns -1 in max_fd, it is because libcurl currently does something that isn't possible for your application to monitor with a socket and unfortunately you can then not know exactly when the current action is completed using select().
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * Fixed issues when streams were closed before curl read/write from them, or ↵Hannes Magnusson2011-09-121-0/+24
| | | | | | | | | | | | | | | | cleaning Closing a original handle after copying it now no longer cleans up all resources (fixes missing CURLOPT_POSTFIELDS values among others)