summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #77946Abyr Valg2019-07-181-0/+2
| | | | Save multi_info_read() result into easy handle.
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Implement curl server pushDavey Shafik2016-06-271-1/+9
|
* Refactor setup of handlers on copied curl handlesDavey Shafik2016-06-271-0/+1
|
* Add curl_multi/share_errno() curl_share_strerror()Pierrick Charron2016-06-261-0/+10
| | | | | | | | | Add 3 new functions : - curl_multi_errno() - curl_share_errno() - curl_share_strerror() https://wiki.php.net/rfc/new-curl-error-functions
* 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 #70330 (Segmentation Fault with multiple "curl_copy_handle")Xinchen Hui2015-08-231-1/+1
| |
* | Reorder fields of curlXinchen Hui2015-05-081-31/+31
| |
* | cleaning up the version macrosAnatol Belski2015-03-231-0/+3
| |
* | Remove unsafe curl file uploadsNikita Popov2015-03-091-1/+0
| | | | | | | | The option CURLOPT_SAFE_UPLOAD still exists, but cannot be disabled.
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | remove the thread ctx from curlAnatol Belski2014-12-171-1/+0
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-4/+4
| |
* | Add smart_str_append for appending zend_stringsNikita Popov2014-09-211-1/+1
| | | | | | | | Also replaces usages in Zend/ and ext/standard
* | Move smart_str implementation into Zend/Nikita Popov2014-09-211-1/+1
| | | | | | | | | | | | | | | | So we can use it there as well... For now I've retained the zend_smart_str_public.h header, though it would probably be better to just move that one struct into zend_types.h.
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | master renames phase 2Anatol Belski2014-08-251-1/+1
| |
* | Use zend_string for better performanceXinchen Hui2014-05-091-2/+1
| |
* | Fixed clone refcountXinchen Hui2014-05-091-1/+1
| |
* | Refactoring ext/curl (only compilable now)Xinchen Hui2014-05-091-29/+29
|/
* Allow NULL as value for CURLOPT_CUSTOMREQUEST option.datibbaw2014-02-281-1/+1
| | | | | | | | | | | Added test case. Refactored the code to isolate the string handling. Fixed return values to use SUCCESS and FAILURE. Removed unused error variable. Indentation fix. Removed the ugly goto.
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Merge branch 'PHP-5.4' into PHP-5.5Adam Harvey2013-08-191-1/+1
|\ | | | | | | | | | | | | | | * PHP-5.4: Track created curl_slist structs by option so they can be updated in situ. Conflicts: ext/curl/interface.c
| * Track created curl_slist structs by option so they can be updated in situ.Adam Harvey2013-08-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | At present, when curl_setopt() is called with an option that requires the creation of a curl_slist, we simply push the new curl_slist onto a list to be freed when the curl handle is freed. This avoids a memory leak, but means that repeated calls to curl_setopt() on the same handle with the same option wastes previously allocated memory on curl_slist structs that will no longer be read. This commit changes the zend_llist that was previously used to track the lists to a HashTable keyed by the option number, which means that we can simply update the hash table each time curl_setopt() is called. Fixes bug #65458 (curl memory leak).
| * Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | Remove curl wrappersPierrick Charron2013-04-231-32/+0
| |
* | Implement fix for bug #46439 - add CURLFile class for safer uploadsStanislav Malyshev2013-01-281-1/+16
| |
* | Improve resource management for curl handlePierrick Charron2013-01-051-1/+0
| | | | | | | | | | | | 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.
* | Remove passwd handler from struct when not neededPierrick Charron2013-01-011-0/+2
| | | | | | | | | | CURLOPT_PASSWDFUNCTION was removed in cURL 7.15.5, the passwd field will not be used for version greater than this one
* | Happy New YearXinchen Hui2013-01-011-1/+1
| |
* | New curl_pause() functionPierrick Charron2012-12-231-0/+4
| | | | | | | | | | | | | | Add the curl_pause function (binding of curl_easy_pause). Using this function, you can explicitly mark a running connection to get paused, and you can unpause a connection that was previously paused.
* | Support for curl_strerror and curl_multi_strerrorPierrick Charron2012-12-231-0/+5
| | | | | | | | | | | | 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/+2
| | | | | | | | | | curl_multi_setopt is now available and supports CURLMOPT_PIPELINING and CURLMOPT_MAXCONNECTS
* | Remove duplicated function definitionPierrick Charron2012-12-231-20/+14
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Pierrick Charron2012-12-191-0/+1
|\ \ | |/ | | | | | | * PHP-5.4: Fixed bug #55438 (Curlwapper is not sending http header randomly)
| * Fixed bug #55438 (Curlwapper is not sending http header randomly)Pierrick Charron2012-12-191-0/+1
| | | | | | | | | | | | Since curl multi is used, it sometime happen that the resource is freed before the curl multi really execute the query. The patch will store the headers slist in the curlstream handle and free it only when the stream will be closed
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * Fix memory leak when using libcurl < 7.17.0Pierrick Charron2011-11-221-1/+1
| |
| * Fixed issues when streams were closed before curl read/write from them, or ↵Hannes Magnusson2011-09-121-0/+1
| | | | | | | | | | | | | | | | cleaning Closing a original handle after copying it now no longer cleans up all resources (fixes missing CURLOPT_POSTFIELDS values among others)
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * Missing bits from last commitIlia Alshanetsky2010-11-301-2/+0
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | add CURLOPT_WILDCARDMATCH and CURLOPT_FNMATCH_FUNCTIONPierrick Charron2011-12-041-1/+4
| |
* | Clean / Improve the curl extensionPierrick Charron2011-12-011-0/+29
| | | | | | | | | | # NEWS file will come soon
* | Revert commit r319729 until I have a clean version for non-ZTSPierrick Charron2011-11-241-12/+0
| |
* | Implemented FR #55540, added functions curl_share_init(), ↵Pierrick Charron2011-11-231-0/+12
| | | | | | | | curl_share_setopt() and curl_share_close().
* | Fixed bug #55635Pierrick Charron2011-11-221-4/+1
| |