Anatoliy Belsky
16a592b13a
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
Fixed bug #62149 Test Bug - ext/curl/tests/bug61948
Fixed bug #62148 mail_skipif doesn't skip imap tests on Release Build
2012-05-25 10:52:38 +02:00
Matt Ficken
86d2fafded
Fixed bug #62149 Test Bug - ext/curl/tests/bug61948
2012-05-25 10:44:59 +02:00
Xinchen Hui
71e7c854b1
Merge branch 'PHP-5.4'
...
* PHP-5.4:
correct NEWS
Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
2012-05-06 00:53:47 +08:00
Xinchen Hui
0747b29bdf
Merge branch 'PHP-5.3' into PHP-5.4
...
* PHP-5.3:
correct NEWS
Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
Conflicts:
ext/curl/interface.c
2012-05-06 00:52:51 +08:00
Xinchen Hui
19632ae7dc
Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction)
2012-05-06 00:50:37 +08: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
Christopher Jones
a46497fd19
Allow alternative curl output shown in several qa.php.net/reports logs
2012-02-06 23:14:47 +00:00
Christopher Jones
d11f2beb82
Allow alternative curl output shown in several qa.php.net/reports logs
2012-02-06 23:14:47 +00:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
8775a37559
- Year++
2012-01-01 13:15:04 +00:00
Felipe Pena
4e19825281
- Year++
2012-01-01 13:15:04 +00:00
Pierrick Charron
066879fde3
Coding standards
2011-12-23 21:01:05 +00:00
Pierrick Charron
4b14c11dcd
Unregister appropriate curl wrappers
2011-12-14 04:02:56 +00:00
Pierrick Charron
e37506bd58
Remove dead code
...
# curl_version_info was introduced in 7.10 and the PHP requirement is 7.10.5
2011-12-14 03:45:44 +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
64963d6e19
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
4b860ccdad
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
ebd3143cd3
Fix test
2011-12-07 16:46:48 +00:00
Pierrick Charron
2e87cd3399
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
25081046d7
Add new test for CURLOPT_POSTFIELDS
2011-12-07 16:32:50 +00:00
Pierrick Charron
572e36e2e4
Add new test for CURLOPT_POSTFIELDS
2011-12-07 16:32:50 +00:00
Pierre Joye
9e567e295b
- fix the fix, wrong endif pos
2011-12-06 16:09:06 +00:00
Pierre Joye
984344214f
- fix build, CURLOPT_FNMATCH_DATA exists since 7.21.0 only
2011-12-06 15:57:43 +00:00
Pierre Joye
05781c747b
- fix build, CURLOPT_FNMATCH_DATA exists since 7.21.0 only
2011-12-06 15:35:07 +00:00
Pierrick Charron
e038f2fe5d
We should free the memory of any curl_slist returned by curl_easy_getinfo
2011-12-05 22:23:19 +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
191835fd3d
Fixed bug #60439curl_copy_handle segfault when used with CURLOPT_PROGRESSFUNCTION
2011-12-04 01:34:54 +00:00
Pierrick Charron
d84e1b50c6
Fix segfault when using curl_copy_handle with CURLOPT_PROGRESSFUNCTION
2011-12-04 01:16:17 +00:00
Pierrick Charron
8253bdbb41
add CURLOPT_WILDCARDMATCH and CURLOPT_FNMATCH_FUNCTION
2011-12-04 00:19:12 +00:00
Pierrick Charron
1efb3e94a7
Add the curl handle to the progress callback function
2011-12-03 23:53:27 +00:00
Pierrick Charron
75b11d80fa
The progress handle don't need to be allocated unless
...
curl_setopt with CURLOPT_PROGRESSFUNCTION is called
2011-12-03 23:43:44 +00:00
Pierrick Charron
799e4983eb
useless variable
2011-12-03 23:21:43 +00:00
Pierrick Charron
e4afb60725
Update curl MINFO
2011-12-03 21:24:19 +00:00
Pierrick Charron
56ba384c9d
Test curl_getinfo() function with CURLINFO_EFFECTIVE_URL parameter
2011-12-03 20:19:53 +00:00
Pierrick Charron
3e7310ece2
Clean curl_getinfo and add new constants from newer libcurl versions
2011-12-03 20:16:32 +00:00
Pierrick Charron
ef1af432c3
Fix test for libcurl < 7.12.1
2011-12-03 20:14:06 +00:00
Pierrick Charron
3fe47ef089
Cleans up test file
2011-12-02 04:16:46 +00:00
Pierrick Charron
a2d189883f
Cleans up test file
2011-12-02 04:16:46 +00:00
Pierrick Charron
82fab7b04d
Cleans up test file
2011-12-02 04:16:46 +00:00
Pierrick Charron
e69f987948
Clean / Improve the curl extension
...
# NEWS file will come soon
2011-12-01 21:48:07 +00:00
Pierrick Charron
70136445cb
Revert commit r319729 until I have a clean version for non-ZTS
2011-11-24 12:49:11 +00:00
Pierrick Charron
da2797108f
Implemented FR #55540 , added functions curl_share_init(), curl_share_setopt() and curl_share_close().
2011-11-23 22:20:28 +00:00
Pierrick Charron
517e28309d
Fix build for libcurl < 7.20.0
2011-11-23 19:36:52 +00:00
Pierrick Charron
bafdf84528
Fixed bug #54995
2011-11-23 05:45:27 +00:00
Felipe Pena
d0839fc837
- Fix build (using libcurl 7.21.0)
2011-11-22 21:10:24 +00:00
Pierrick Charron
def84f16ad
Fix test to remove dependancy over php.net
2011-11-22 18:50:57 +00:00
Pierrick Charron
b0b58c3d08
Fix test to remove dependancy over php.net
2011-11-22 18:50:57 +00:00
Pierrick Charron
fe1bf12552
Fix test to remove dependancy over php.net
2011-11-22 18:50:57 +00:00
Pierrick Charron
fff23f12bd
Add new cURL CURLOPT_* options
2011-11-22 17:33:48 +00:00
Pierrick Charron
33d3eb1e43
Fixed bug #55635
2011-11-22 17:13:26 +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
d47dffc1b8
Fix this test to work with all version (even old) of libcurl
2011-11-22 08:29:26 +00:00
Pierrick Charron
ecc6c335c5
Fix this test to work with all version (even old) of libcurl
2011-11-22 08:29:26 +00:00
Pierrick Charron
a1f1e0bcf9
Fix memory leak when using libcurl < 7.17.0
2011-11-22 05:19:37 +00:00
Pierrick Charron
18e4f02921
Fix memory leak when using libcurl < 7.17.0
2011-11-22 05:19:37 +00:00
Pierrick Charron
20324d06da
Fix memory leak when using libcurl < 7.17.0
2011-11-22 05:19:37 +00:00
Pierrick Charron
42ebac1d01
Fix memory leak
2011-11-21 02:44:28 +00:00
Pierrick Charron
4dce729ca0
Fix memory leak
2011-11-21 02:44:28 +00:00
Pierrick Charron
0d73c76bec
Fix memory leak
2011-11-21 02:29:24 +00:00
Pierrick Charron
7410d0b55d
Fix memory leak
2011-11-21 02:29:24 +00:00
Pierrick Charron
d69a1b09af
Fix memory leak
2011-11-21 02:29:24 +00:00
Pierrick Charron
1260d8e1c3
Fix test to use PHP_CURL_HTTP_REMOTE_SERVER
2011-11-21 02:10:57 +00:00
Pierrick Charron
9ee79f65ec
Fix test to use PHP_CURL_HTTP_REMOTE_SERVER
2011-11-21 02:10:57 +00:00
Pierrick Charron
e3557389bf
Fix test to use PHP_CURL_HTTP_REMOTE_SERVER
2011-11-21 02:10:57 +00:00
Rasmus Lerdorf
46f74e3523
Add a test and declare the local vars locally
2011-09-23 15:19:48 +00:00
Rasmus Lerdorf
657b661d40
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
Rasmus Lerdorf
659fc4b0f4
Fix for bug #55767
2011-09-23 13:16:37 +00:00
Hannes Magnusson
8db792d1f2
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
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
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
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
987c394143
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
7cbaf76ca1
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
31d09c9c4c
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
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
12e983e714
Fixed tests (skip when catch-all DNS such as openDNS is being used)
2011-09-07 15:31:48 +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
c038ac2251
Sync tests between branches and fix the getcontent test
2011-09-07 10:38:53 +00:00
Hannes Magnusson
b6e2e54b70
Sync tests between branches and fix the getcontent test
2011-09-07 10:38:53 +00:00
Hannes Magnusson
3171c31bbc
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
Hannes Magnusson
3f85bc95f7
Update skipif message
2011-09-07 10:34:58 +00:00
Hannes Magnusson
51d36f744a
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
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
dff6510fc5
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
Matteo Beccati
c0e08c34df
Fixed false positive failure on gcov
2011-08-31 22:12:53 +00:00
Matteo Beccati
a3a5b2197c
Fixed false positive failure on gcov
2011-08-31 22:12:53 +00:00
Pierre Joye
42c4b86c88
- Fix #55301 (curl part) check if malloc succeded
2011-07-28 10:31:34 +00:00
Pierre Joye
40b059de97
- Fix #55301 (curl part) check if malloc succeded
2011-07-28 10:31:34 +00:00
Pierre Joye
103d475021
- Fix #55301 (curl part) check if malloc succeded
2011-07-28 10:31:34 +00:00
Felipe Pena
23e438594d
- Make usage of new PHP_FE_END macro
2011-07-25 11:42:53 +00:00
Felipe Pena
4b30846b50
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Felipe Pena
da376383e8
- Make usage of new PHP_FE_END macro
2011-07-25 11:35:02 +00:00
Shein Alexey
0214bbed25
Updated (currently failing) test for bug48203 with curl_stderr and added also curl_multi_exec variant of this test.
2011-06-09 07:16:13 +00:00
Shein Alexey
42478b46e9
Removed 'b' string prefix as unneeded from some tests.
2011-06-09 06:49:31 +00:00
Shein Alexey
11f667e82d
Fixed notice breaking the test.
2011-05-31 12:57:40 +00:00
Shein Alexey
e69b73e0b8
Fixed notice breaking the test.
2011-05-31 12:57:40 +00:00
Shein Alexey
a2566cb684
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
Shein Alexey
a44a8af3a0
Removed test since there's no more safe_mode in PHP >= 5.4.
2011-05-31 12:45:00 +00:00
Pierrick Charron
3841295b2a
Added support for CURLOPT_MAX_RECV_SPEED_LARGE and CURLOPT_MAX_SEND_SPEED_LARGE. FR #51815
...
# MFH. This addition was already committed to trunk and is backported as requested in #54622
2011-04-29 10:41:44 +00:00
Pierre Joye
689268a0ba
- add CURLINFO_REDIRECT_URL
2011-04-01 17:19:08 +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
927bf09c29
- Year++
2011-01-01 02:19:59 +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
eabb9be2ac
curl_setopt() arg: using DIRECTORY_SEPARATOR rather then "/" to make windows tests pass too
2010-12-08 14:16:17 +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
964eff5276
Missing bits from last commit
2010-11-30 16:11:27 +00:00
Ilia Alshanetsky
94ca4a4d09
Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted).
2010-11-30 13:40:02 +00:00
Ilia Alshanetsky
085e8b781c
Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted).
2010-11-30 13:40:02 +00:00
Ilia Alshanetsky
dd92188d76
Fixed bug #52828 (curl_setopt does not accept persistent streams).
2010-11-29 14:40:59 +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
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
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
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
cd2f66cd61
- 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
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
edc961cc66
- Bug #51629 , CURLOPT_FOLLOWLOCATION error message is misleading
2010-04-22 11:49:10 +00:00
Pierre Joye
f66e02b8fc
- Bug #51629 , CURLOPT_FOLLOWLOCATION error message is misleading
2010-04-22 11:49:10 +00:00
Pierre Joye
0fecc8c6a0
- Bug #51629 , CURLOPT_FOLLOWLOCATION error message is misleading
2010-04-22 08:58:07 +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
5d2f7ab843
fix build
2010-04-20 12:50:02 +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