Commit Graph

467 Commits

Author SHA1 Message Date
Rasmus Lerdorf
46f74e3523 Add a test and declare the local vars locally 2011-09-23 15:19:48 +00:00
Rasmus Lerdorf
f5ec360df7 Fix for bug #55767 2011-09-23 13:16:37 +00:00
Hannes Magnusson
413f94913d Fixed issues when streams were closed before curl read/write from them, or cleaning
Closing a original handle after copying it now no longer cleans up all resources (fixes missing CURLOPT_POSTFIELDS values among others)
2011-09-12 09:16:04 +00:00
Hannes Magnusson
a2c1d37d4f Being smart and cleanup/rename/modify tests seconds before committing isn't very smart. 2011-09-09 08:28:57 +00:00
Hannes Magnusson
7cbaf76ca1 Merge tests from trunk 2011-09-09 08:14:04 +00:00
Hannes Magnusson
285ac82310 Fixed bug#54798 Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec 2011-09-08 14:37:18 +00:00
Ilia Alshanetsky
b6f512cae6 Fixed tests (skip when catch-all DNS such as openDNS is being used) 2011-09-07 15:31:48 +00:00
Hannes Magnusson
3171c31bbc Sync tests between branches and fix the getcontent test 2011-09-07 10:38:53 +00:00
Hannes Magnusson
51d36f744a Update skipif message 2011-09-07 10:34:58 +00:00
Matteo Beccati
d2621f92b9 Fixed test randomly failing due to different error messages. Also added a skip
section in case "fakeURL" resolves to an IP address, as some empty error
messages and HTML can be seen in the reports
2011-09-01 00:45:56 +00:00
Matteo Beccati
c0e08c34df Fixed false positive failure on gcov 2011-08-31 22:12:53 +00:00
Pierre Joye
103d475021 - Fix #55301 (curl part) check if malloc succeded 2011-07-28 10:31:34 +00:00
Felipe Pena
4b30846b50 - Make usage of new PHP_FE_END macro 2011-07-25 11:35:02 +00:00
Shein Alexey
11f667e82d Fixed notice breaking the test. 2011-05-31 12:57:40 +00:00
Shein Alexey
f848423608 Removed test since there's no more safe_mode in PHP >= 5.4. 2011-05-31 12:45:00 +00:00
Pierre Joye
599d9134fc - add CURLINFO_REDIRECT_URL 2011-04-01 17:19:08 +00:00
Pierre Joye
4aac903e61 - [doc] add ini option to set the default cainfo file, in case none was set at compile time 2011-04-01 17:10:52 +00:00
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Scott MacVicar
ec4cbe70fa Add more constants to curl_getinfo(), dependent on cURL version installed so wrapped in ifdefs 2010-12-10 01:45:55 +00:00
Eyal Teutsch
fa404f71f5 curl_setopt() arg: using DIRECTORY_SEPARATOR rather then "/" to make windows tests pass too 2010-12-08 14:16:17 +00:00
Ilia Alshanetsky
c579738b94 Same as before 2010-11-30 16:12:45 +00:00
Ilia Alshanetsky
94ca4a4d09 Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted). 2010-11-30 13:40:02 +00:00
Ilia Alshanetsky
08441f8848 Fixed bug #52828 (curl_setopt does not accept persistent streams). 2010-11-29 14:40:59 +00:00
Adam Harvey
56ea98734c Fix bug #52827 (cURL leaks handle and causes assertion error (CURLOPT_STDERR)).
Patch by Gustavo.
2010-09-14 10:58:59 +00:00
Kalle Sommer Nielsen
a448b6a72b MFB53: Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED (Fixes #52570)
# Some of the updated tests were to make them sync with 5.3 although they don't run on trunk anymore
2010-08-11 21:41:30 +00:00
Felipe Pena
cd2f66cd61 - Fix test 2010-08-06 23:01:32 +00:00
Felipe Pena
06c185214a - Fixed bug #52533 (ext/curl/tests/curl_multi_getcontent_basic3.phpt broken due php.net/robots.txt)
patch by: glen at delfi dot ee
2010-08-06 22:57:41 +00:00
Pierrick Charron
1386a6fcc6 Added support for CURLOPT_MAX_RECV_SPEED_LARGE and CURLOPT_MAX_SEND_SPEED_LARGE. 2010-05-14 06:29:54 +00:00
Rob Richards
0a34d10783 revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Pierre Joye
f66e02b8fc - Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading 2010-04-22 11:49:10 +00:00
Pierre Joye
b1e3ae0e99 - Bug #51629, CURLOPT_FOLLOWLOCATION error message is misleading 2010-04-22 08:58:07 +00:00
Kalle Sommer Nielsen
518a17e7bf Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions 2010-04-21 23:36:49 +00:00
Antony Dovgal
91a214008c fix build 2010-04-20 12:50:02 +00:00
Kalle Sommer Nielsen
7ef4cdf471 Remove a couple TSRMLS_FETCH() calls around ext/main/sapi 2010-04-13 11:02:15 +00:00
Felipe Pena
78cf85ab44 - Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1)
patch by: aron dot ujvari at microsec dot hu
2010-03-10 22:58:46 +00:00
Ilia Alshanetsky
772a84d5b9 Fixed bug #51171 (curl_setopt() doesn't output any errors or warnings when an invalid option is provided) 2010-03-02 12:54:23 +00:00
Sriram Natarajan
0ea435c6e0 - Fixed bug #50756 (CURLOPT_FTP_SKIP_PASV_IP does not exist.) 2010-01-23 01:37:32 +00:00
Jani Taskinen
3d733ce6fa - Fixed bug #50791 (Compile failure: Bad logic in defining fopencookie emulation) 2010-01-19 13:44:08 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Rasmus Lerdorf
c79d16d40b Pierre added certinfo to the curl info array, but that is
only available in newer versions of curl and this test
doesn't test for it.
2009-11-23 14:43:52 +00:00
Felipe Pena
f61a06350a - Switching to TSRMLS_FETCH version 2009-11-16 10:36:27 +00:00
Felipe Pena
5411bb32a8 - Fixed bug #49936 (crash with ftp stream in php_stream_context_get_option())
(patch by Pierrick)
2009-11-15 20:30:57 +00:00
Ilia Alshanetsky
ff5a2ce931 Fixed bug #49921 (Curl post upload functions changed). 2009-10-26 12:57:01 +00:00
Ilia Alshanetsky
809dbcda08 Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after fclose). 2009-09-30 02:34:17 +00:00
Ilia Alshanetsky
5edef9d2dd Fixed test 2009-09-28 03:14:46 +00:00
Felipe Pena
22876972a5 - Fix test 2009-09-25 02:07:41 +00:00
Sriram Natarajan
92c08b1224 - Fixed bug #49571 (CURLOPT_POSTREDIR not implemented). 2009-09-24 18:20:49 +00:00
Felipe Pena
788031f093 - Fixed bug #49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set ...") 2009-09-23 02:08:19 +00:00
Ilia Alshanetsky
420a3abc6a Fixed compiler warning 2009-09-23 00:18:32 +00:00