Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Allow NULL as value for CURLOPT_CUSTOMREQUEST option. | datibbaw | 2014-02-28 | 1 | -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 year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | Merge branch 'PHP-5.4' into PHP-5.5 | Adam Harvey | 2013-08-19 | 1 | -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 Harvey | 2013-08-19 | 1 | -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 Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | | |||||
* | | Remove curl wrappers | Pierrick Charron | 2013-04-23 | 1 | -32/+0 |
| | | |||||
* | | Implement fix for bug #46439 - add CURLFile class for safer uploads | Stanislav Malyshev | 2013-01-28 | 1 | -1/+16 |
| | | |||||
* | | Improve resource management for curl handle | Pierrick Charron | 2013-01-05 | 1 | -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 needed | Pierrick Charron | 2013-01-01 | 1 | -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 Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | | |||||
* | | New curl_pause() function | Pierrick Charron | 2012-12-23 | 1 | -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_strerror | Pierrick Charron | 2012-12-23 | 1 | -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_setopt | Pierrick Charron | 2012-12-23 | 1 | -0/+2 |
| | | | | | | | | | | curl_multi_setopt is now available and supports CURLMOPT_PIPELINING and CURLMOPT_MAXCONNECTS | ||||
* | | Remove duplicated function definition | Pierrick Charron | 2012-12-23 | 1 | -20/+14 |
| | | |||||
* | | Merge branch 'PHP-5.4' into PHP-5.5 | Pierrick Charron | 2012-12-19 | 1 | -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 Charron | 2012-12-19 | 1 | -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 Pena | 2012-01-01 | 1 | -1/+1 |
| | | |||||
| * | Fix memory leak when using libcurl < 7.17.0 | Pierrick Charron | 2011-11-22 | 1 | -1/+1 |
| | | |||||
| * | Fixed issues when streams were closed before curl read/write from them, or ↵ | Hannes Magnusson | 2011-09-12 | 1 | -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 Pena | 2011-01-01 | 1 | -1/+1 |
| | | |||||
| * | Missing bits from last commit | Ilia Alshanetsky | 2010-11-30 | 1 | -2/+0 |
| | | |||||
* | | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | | |||||
* | | add CURLOPT_WILDCARDMATCH and CURLOPT_FNMATCH_FUNCTION | Pierrick Charron | 2011-12-04 | 1 | -1/+4 |
| | | |||||
* | | Clean / Improve the curl extension | Pierrick Charron | 2011-12-01 | 1 | -0/+29 |
| | | | | | | | | | | # NEWS file will come soon | ||||
* | | Revert commit r319729 until I have a clean version for non-ZTS | Pierrick Charron | 2011-11-24 | 1 | -12/+0 |
| | | |||||
* | | Implemented FR #55540, added functions curl_share_init(), ↵ | Pierrick Charron | 2011-11-23 | 1 | -0/+12 |
| | | | | | | | | curl_share_setopt() and curl_share_close(). | ||||
* | | Fixed bug #55635 | Pierrick Charron | 2011-11-22 | 1 | -4/+1 |
| | | |||||
* | | Fix memory leak when using libcurl < 7.17.0 | Pierrick Charron | 2011-11-22 | 1 | -1/+1 |
| | | |||||
* | | Fixed issues when streams were closed before curl read/write from them, or ↵ | Hannes Magnusson | 2011-09-12 | 1 | -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 Pena | 2011-01-01 | 1 | -1/+1 |
| | | |||||
* | | Same as before | Ilia Alshanetsky | 2010-11-30 | 1 | -2/+0 |
|/ | |||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after ↵ | Ilia Alshanetsky | 2009-09-30 | 1 | -0/+2 |
| | | | | fclose). | ||||
* | - Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()). | Sriram Natarajan | 2009-07-21 | 1 | -0/+1 |
| | |||||
* | - fix build, stderr cannot be used as var or struct member | Pierre Joye | 2009-05-27 | 1 | -1/+1 |
| | |||||
* | MFH: Fixed bug #48203 (crash when CURLOPT_STDERR is set to regular file) | Jani Taskinen | 2009-05-26 | 1 | -0/+1 |
| | |||||
* | - [DOC] MFH: #41712, implement progress callback | Pierre Joye | 2009-05-03 | 1 | -0/+7 |
| | | | | | - add constants CURLOPT_PROGRESSFUNCTION | ||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | MFH:- Fixed bug #45161 (Reusing a curl handle leaks memory) | Jani Taskinen | 2008-12-17 | 1 | -0/+2 |
| | |||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | MFH: decrement ch->uses (or destroy handle) when destroying multi handle | Antony Dovgal | 2006-10-05 | 1 | -0/+1 |
| | |||||
* | cURL extension news. | Ilia Alshanetsky | 2006-01-24 | 1 | -0/+7 |
| | |||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 |
| | |||||
* | - Bumber up year | foobar | 2005-08-03 | 1 | -1/+1 |
| | |||||
* | Darwin seems to like this much better. | George Schlossnagle | 2005-07-15 | 1 | -2/+2 |
| | |||||
* | fix bug #33222 (segfault when CURL handle is closed in a callback). | Antony Dovgal | 2005-06-02 | 1 | -0/+1 |
| | | | | | fix segfaults when CURL callback functions throw exception. | ||||
* | add the curl_copy_handle() function which will exactly duplicate a cURL handle. | Sterling Hughes | 2004-03-12 | 1 | -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 Alshanetsky | 2004-03-11 | 1 | -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.. | foobar | 2004-01-08 | 1 | -2/+2 |
| | | | | | # Should the LICENSE and Zend/LICENSE dates be updated too? |