summaryrefslogtreecommitdiff
path: root/ext/curl/interface.c
Commit message (Collapse)AuthorAgeFilesLines
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Fixed #63859 Memory leak when reusing curl-handlePierrick Charron2012-12-271-0/+3
| | | | | | | | | When CURLOPT_POSTFIELDS is called more than once on the same curl handle, php/curl did not free the memory of the previous post data. This commit will fix the problem unless the curl handle was previously duplicated using the curl_copy_handle() function in which case we can not know if the post data is still in use or not by any curl handle
* Merge branch 'PHP-5.3' into PHP-5.4Pierrick Charron2012-12-221-0/+24
|\ | | | | | | | | * PHP-5.3: Fixed segfault due to libcurl connection caching
| * Fixed segfault due to libcurl connection cachingPierrick Charron2012-12-221-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | Libcurl is doing connection caching. When easy handle is cleaned up, if the handle was previously used by the curl_multi_api, the connection remains open un the curl multi handle is cleaned up. Some protocols are sending content like the FTP one, and libcurl try to use the WRITEFUNCTION or the HEADERFUNCTION. Since structures used in those callback are freed, we need to use an other callback to which avoid segfaults. Libcurl commit d021f2e8a00 fix this issue and should be part of 7.28.2
* | Merge branch 'PHP-5.3' into PHP-5.4Pierrick Charron2012-12-211-2/+8
|\ \ | |/ | | | | | | | | | | | | | | | | | | * PHP-5.3: Update NEWS file Fixed bug #63352 (Can't enable hostname validation when using curl stream wrappers) CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST) Conflicts: ext/curl/interface.c ext/curl/tests/bug63363.phpt
| * CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)Pierrick Charron2012-12-211-1/+10
| | | | | | | | Fixed bug #63795
* | Unused variable copystrXinchen Hui2012-11-211-4/+0
| | | | | | | | copystr is declared again blow
* | Notice if CURLOPT_SSL_VERIFYHOST is set to trueJohn Jawed (JJ)2012-10-251-1/+5
| |
* | Fixed bug #62912 (CURLINFO_PRIMARY_IP is not exposed)Pierrick Charron2012-08-241-3/+13
| | | | | | | | | | CURLINFO_PRIMARY_* and CURLINFO_LOCAL_* where available in curl_getinfo but the constant itself was not exposed to php userland
* | Merge branch 'PHP-5.3' into PHP-5.4Pierrick Charron2012-08-161-2/+2
|\ \ | |/ | | | | | | * PHP-5.3: Fixed bug #62839
| * Fixed bug #62839Pierrick Charron2012-08-161-2/+2
| | | | | | | | | | curl_copy_handle segfault with CURLOPT_FILE. The refcount was incremented before the assignement.
* | Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2012-07-091-1/+1
|\ \ | |/ | | | | | | | | | | | | | | * PHP-5.3: Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false) appease MSVC (doesnt like unary minus of unsigned ints) Conflicts: ext/curl/interface.c
| * Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false)Xinchen Hui2012-07-091-1/+1
| | | | | | | | this bc break is caused by the fix for #61948
| * Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)Xinchen Hui2012-05-061-1/+1
| |
| * - Year++Felipe Pena2012-01-011-1/+1
| |
| * Fixed bug #60439curl_copy_handle segfault when used with ↵Pierrick Charron2011-12-041-0/+7
| | | | | | | | CURLOPT_PROGRESSFUNCTION
| * Fix memory leak when using libcurl < 7.17.0Pierrick Charron2011-11-221-22/+16
| |
| * Fix memory leakPierrick Charron2011-11-211-0/+12
| |
| * Fixed issues when streams were closed before curl read/write from them, or ↵Hannes Magnusson2011-09-121-26/+80
| | | | | | | | | | | | | | | | cleaning Closing a original handle after copying it now no longer cleans up all resources (fixes missing CURLOPT_POSTFIELDS values among others)
| * Fixed bug#54798 Segfault when CURLOPT_STDERR file pointer is closed before ↵Hannes Magnusson2011-09-081-0/+20
| | | | | | | | calling curl_exec
| * - Fix #55301 (curl part) check if malloc succededPierre Joye2011-07-281-0/+3
| |
| * - Make usage of new PHP_FE_END macroFelipe Pena2011-07-251-1/+1
| |
| * Added support for CURLOPT_MAX_RECV_SPEED_LARGE and ↵Pierrick Charron2011-04-291-0/+12
| | | | | | | | | | | | | | CURLOPT_MAX_SEND_SPEED_LARGE. FR #51815 # MFH. This addition was already committed to trunk and is backported as requested in #54622
| * - add CURLINFO_REDIRECT_URLPierre Joye2011-04-011-1/+33
| |
| * - Year++Felipe Pena2011-01-011-1/+1
| |
| * Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted).Ilia Alshanetsky2010-11-301-14/+15
| |
| * Fixed bug #52828 (curl_setopt does not accept persistent streams).Ilia Alshanetsky2010-11-291-1/+1
| |
| * Fix bug #52827 (cURL leaks handle and causes assertion error (CURLOPT_STDERR)).Adam Harvey2010-09-141-1/+0
| | | | | | | | | | Patch by Gustavo.
| * - Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleadingPierre Joye2010-04-221-1/+1
| |
| * fix buildAntony Dovgal2010-04-201-1/+1
| |
* | Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)Xinchen Hui2012-05-061-1/+1
| |
* | - Year++Felipe Pena2012-01-011-1/+1
| |
* | Fixed bug #60439curl_copy_handle segfault when used with ↵Pierrick Charron2011-12-041-0/+7
| | | | | | | | CURLOPT_PROGRESSFUNCTION
* | Fix memory leak when using libcurl < 7.17.0Pierrick Charron2011-11-221-22/+16
| |
* | Fix memory leakPierrick Charron2011-11-211-0/+8
| |
* | Fix memory leakPierrick Charron2011-11-211-0/+12
| |
* | Add a test and declare the local vars locallyRasmus Lerdorf2011-09-231-4/+5
| |
* | Fix for bug #55767Rasmus Lerdorf2011-09-231-0/+5
| |
* | Fixed issues when streams were closed before curl read/write from them, or ↵Hannes Magnusson2011-09-121-26/+80
| | | | | | | | | | | | | | | | cleaning Closing a original handle after copying it now no longer cleans up all resources (fixes missing CURLOPT_POSTFIELDS values among others)
* | Fixed bug#54798 Segfault when CURLOPT_STDERR file pointer is closed before ↵Hannes Magnusson2011-09-081-0/+20
| | | | | | | | calling curl_exec
* | - Fix #55301 (curl part) check if malloc succededPierre Joye2011-07-281-0/+3
| |
* | - Make usage of new PHP_FE_END macroFelipe Pena2011-07-251-1/+1
| |
* | - add CURLINFO_REDIRECT_URLPierre Joye2011-04-011-1/+14
| |
* | - [doc] add ini option to set the default cainfo file, in case none was set ↵Pierre Joye2011-04-011-0/+17
| | | | | | | | at compile time
* | - Year++Felipe Pena2011-01-011-1/+1
| |
* | Add more constants to curl_getinfo(), dependent on cURL version installed so ↵Scott MacVicar2010-12-101-0/+27
| | | | | | | | wrapped in ifdefs
* | Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted).Ilia Alshanetsky2010-11-301-14/+15
| |
* | Fixed bug #52828 (curl_setopt does not accept persistent streams).Ilia Alshanetsky2010-11-291-1/+1
| |
* | Fix bug #52827 (cURL leaks handle and causes assertion error (CURLOPT_STDERR)).Adam Harvey2010-09-141-1/+0
| | | | | | | | | | Patch by Gustavo.
* | Added support for CURLOPT_MAX_RECV_SPEED_LARGE and CURLOPT_MAX_SEND_SPEED_LARGE.Pierrick Charron2010-05-141-0/+12
| |