summaryrefslogtreecommitdiff
path: root/ext/curl/php_curl.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | 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
| |
* | Same as beforeIlia Alshanetsky2010-11-301-2/+0
|/
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after ↵Ilia Alshanetsky2009-09-301-0/+2
| | | | fclose).
* - Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()).Sriram Natarajan2009-07-211-0/+1
|
* - fix build, stderr cannot be used as var or struct memberPierre Joye2009-05-271-1/+1
|
* MFH: Fixed bug #48203 (crash when CURLOPT_STDERR is set to regular file)Jani Taskinen2009-05-261-0/+1
|
* - [DOC] MFH: #41712, implement progress callbackPierre Joye2009-05-031-0/+7
| | | | | - add constants CURLOPT_PROGRESSFUNCTION
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH:- Fixed bug #45161 (Reusing a curl handle leaks memory)Jani Taskinen2008-12-171-0/+2
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* MFH: decrement ch->uses (or destroy handle) when destroying multi handleAntony Dovgal2006-10-051-0/+1
|
* cURL extension news.Ilia Alshanetsky2006-01-241-0/+7
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* Darwin seems to like this much better.George Schlossnagle2005-07-151-2/+2
|
* fix bug #33222 (segfault when CURL handle is closed in a callback).Antony Dovgal2005-06-021-0/+1
| | | | | fix segfaults when CURL callback functions throw exception.
* add the curl_copy_handle() function which will exactly duplicate a cURL handle.Sterling Hughes2004-03-121-0/+1
| | | | | | Useful when you have multiple "similair" transforms as with a multi handle with only small variances (like the URL)
* Fixed memory leak in the multi interface.Ilia Alshanetsky2004-03-111-0/+1
| | | | | | | Fixed proto of curl_multi_exec(). Fixed crash in curl resource attached to curl multi resource is manually freed via curl_close().
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-2/+2
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?