Anatol Belski
558c5dbe65
fix the test for curl 7.29.0+
2013-02-19 09:04:06 +01:00
Pierrick Charron
a2b6d9c104
Fixed segfault due to libcurl connection caching
...
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
2012-12-22 19:03:24 -05:00
Pierrick Charron
517f800277
CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST)
...
Fixed bug #63795
2012-12-21 19:10:55 -05:00
Xinchen Hui
610c7fbe7b
Remove executable permission on phpt
2012-10-10 10:27:49 +08:00
Xinchen Hui
e66a5ce56f
Fixed Bug #63103 (ext\curl\tests\bug62839.phpt broken)
2012-09-18 10:46:58 +08:00
Pierrick Charron
9cf0139460
Fixed bug #62839
...
curl_copy_handle segfault with CURLOPT_FILE. The refcount was incremented
before the assignement.
2012-08-16 14:48:44 -04:00
Xinchen Hui
c819cf9d6b
Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false)
...
this bc break is caused by the fix for #61948
2012-07-09 08:32:40 +08:00
Matt Ficken
86d2fafded
Fixed bug #62149 Test Bug - ext/curl/tests/bug61948
2012-05-25 10:44:59 +02:00
Xinchen Hui
035ce937e1
Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
2012-05-06 00:40:49 +08:00
Christopher Jones
dbefe8d8ea
Allow alternative curl output shown in several qa.php.net/reports logs
2012-02-06 23:14:47 +00:00
Pierrick Charron
e8eab79ac8
Fix curl_copy_handle_basic_008.phpt when display_errors is On
...
(Thanks Chris Jones)
2011-12-08 18:57:01 +00:00
Pierrick Charron
bc8fc80049
Fix test
2011-12-07 16:46:48 +00:00
Pierrick Charron
4093e5e797
Add new test for CURLOPT_POSTFIELDS
2011-12-07 16:32:50 +00:00
Pierrick Charron
109346779a
Fixed bug #60439curl_copy_handle segfault when used with CURLOPT_PROGRESSFUNCTION
2011-12-04 01:34:54 +00:00
Pierrick Charron
3fe47ef089
Cleans up test file
2011-12-02 04:16:46 +00:00
Pierrick Charron
b0b58c3d08
Fix test to remove dependancy over php.net
2011-11-22 18:50:57 +00:00
Pierrick Charron
0f26db6956
Fix this test to work with all version (even old) of libcurl
2011-11-22 08:29:26 +00:00
Pierrick Charron
1260d8e1c3
Fix test to use PHP_CURL_HTTP_REMOTE_SERVER
2011-11-21 02:10:57 +00:00
Hannes Magnusson
e43c21e53a
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
0cac42b482
Being smart and cleanup/rename/modify tests seconds before committing isn't very smart.
2011-09-09 08:28:57 +00:00
Hannes Magnusson
23010d52ad
Merge tests from trunk
2011-09-09 08:14:04 +00:00
Hannes Magnusson
33bee161f6
Fixed bug#54798 Segfault when CURLOPT_STDERR file pointer is closed before calling curl_exec
2011-09-08 14:37:18 +00:00
Hannes Magnusson
c038ac2251
Sync tests between branches and fix the getcontent test
2011-09-07 10:38:53 +00:00
Hannes Magnusson
d80adbcc93
Update skipif message
2011-09-07 10:34:58 +00:00
Matteo Beccati
d66630f625
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
f4e100e47f
Fixed false positive failure on gcov
2011-08-31 22:12:53 +00:00
Shein Alexey
e69b73e0b8
Fixed notice breaking the test.
2011-05-31 12:57:40 +00:00
Eyal Teutsch
eabb9be2ac
curl_setopt() arg: using DIRECTORY_SEPARATOR rather then "/" to make windows tests pass too
2010-12-08 14:16:17 +00:00
Ilia Alshanetsky
085e8b781c
Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted).
2010-11-30 13:40:02 +00:00
Adam Harvey
877a6f92f0
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
8deefa8780
Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED ( Fixes #52570 )
...
# Trunk patch will follow shortly
2010-08-11 21:12:18 +00:00
Felipe Pena
f4644c8c85
- Fix test
2010-08-06 23:01:32 +00:00
Felipe Pena
07c1929a7a
- 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
Pierre Joye
edc961cc66
- Bug #51629 , CURLOPT_FOLLOWLOCATION error message is misleading
2010-04-22 11:49:10 +00:00
Sriram Natarajan
0ea435c6e0
- Fixed bug #50756 (CURLOPT_FTP_SKIP_PASV_IP does not exist.)
2010-01-23 01:37:32 +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
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
Dmitry Stogov
7bfe056174
Fixed tests
2009-09-21 09:52:19 +00:00
Zoe Slattery
1c98e49afd
Test from 2009 testfest
2009-08-26 17:17:58 +00:00
Ilia Alshanetsky
92cb2b634f
Make test more generic
2009-08-06 12:23:35 +00:00
Rasmus Lerdorf
a37d7529ba
The test for bug #46739 doesn't actually need the remote
...
responder, so get rid of the skipif in PHP 5, and it was
broken in PHP 6 because the keys in the curl_info array
were not unicode. All internally-generated arrays should
have unicode keys.
2009-07-26 02:12:38 +00:00
Jani Taskinen
bc8155d737
- Fix tests to be more comptatible AND to test what they are supposed to test
2009-07-25 22:20:18 +00:00
Felipe Pena
badd102c83
- Opss, fix the fix...
2009-07-25 21:56:31 +00:00
Felipe Pena
7c30b3c2dc
- Fix test
2009-07-25 21:52:33 +00:00
Rasmus Lerdorf
5471bd7f6a
Fix dumb typo in the skipif
2009-07-25 21:37:04 +00:00
Jani Taskinen
5e22b47d05
- Fix bad environment usage
2009-07-25 14:52:52 +00:00
Jani Taskinen
1ca46f5ddd
- Fix test when responder is something like lighttpd
2009-07-25 14:49:17 +00:00
Jani Taskinen
57d04afff0
- Fix test
2009-07-25 14:20:38 +00:00
Sriram Natarajan
27dccf7ac0
- Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()).
2009-07-21 20:32:32 +00:00