Commit Graph

737 Commits

Author SHA1 Message Date
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
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
Ilia Alshanetsky
d223d65aad Fixed build with older version of libcurl 2009-09-22 01:17:16 +00:00
Dmitry Stogov
7bfe056174 Fixed tests 2009-09-21 09:52:19 +00:00
Felipe Pena
fff0a24656 - Fixed ZTS build 2009-09-16 18:01:10 +00:00
Pierre Joye
15398c4ed5 - #49253, add support for libcurl's CERTINFO option 2009-09-15 15:47:06 +00:00
Pierre Joye
137b9210f2 - fix #49372, segfault in php_curl_option_url 2009-08-26 22:24:10 +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
Felipe Pena
837732acc5 - Fix ZTS build 2009-07-26 23:44:59 +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
1f0c710ef2 - Add missing EXPERIMENTAL note (this thing REALLY is experimental at best..) 2009-07-25 20:58:51 +00:00
Jani Taskinen
776cb8a669 - Fixed bug #48637 ("file" wrapper is overwritten when using --with-curlwrappers)
# Also fixes bug #48603, basically same issue.
2009-07-25 20:44:19 +00:00
Felipe Pena
57140f7db0 - Making Valgrind happy 2009-07-25 20:39:01 +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
Jani Taskinen
4f760d11f8 - Fixed bug #49052 (context option headers freed too early when using --with-curlwrappers) 2009-07-25 13:00:25 +00:00
Sriram Natarajan
27dccf7ac0 - Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()). 2009-07-21 20:32:32 +00:00
Ilia Alshanetsky
160c88cfa1 Fixed bug #48962 (cURL does not upload files with specified filename). 2009-07-21 15:56:08 +00:00
Felipe Pena
ea2abdc378 - Removed unnecessary strlen() call and if statement. 2009-07-19 14:36:16 +00:00
andy wharmby
fbea458808 New cURL tests. Tested on Windows, Linux and Linux 64 bit 2009-07-17 20:46:30 +00:00
andy wharmby
f3d407964e Fix cURL tests 2009-07-17 20:44:50 +00:00
Felipe Pena
c803fbe66c - Fix test 2009-07-17 14:04:06 +00:00
Felipe Pena
f4f825a7a5 - MFH: Fixed bug #48893 (Problems compiling with Curl) 2009-07-17 00:25:54 +00:00
Felipe Pena
8715a7f12e - New tests (DutchUG testfest) 2009-07-03 00:09:08 +00:00
Ilia Alshanetsky
305f4984d2 MFB: Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns
on files that have been opened with r+).
2009-07-02 13:42:16 +00:00
Pierre Joye
f403bd2128 - MFH: fix regression introduced by the fix for #48518 (Ilia, Rasmus) 2009-06-28 09:50:14 +00:00
Ilia Alshanetsky
bb55de47cd Simplify original fix for bug #33475 2009-06-15 12:37:37 +00:00
Felipe Pena
f9b9765ed0 - MFH: Fixed bug #48514 (cURL extension uses same resource name for simple and multi APIs) 2009-06-12 20:48:28 +00:00
andy wharmby
13dce00cdf Add/Fix SKIPIF sections of cURL tests 2009-06-11 21:11:20 +00:00
Antony Dovgal
efa7b5c4c8 MFH: fix bug #48518 (curl crashes when writing into invalid file handle) 2009-06-11 09:46:43 +00:00
Antony Dovgal
0c8e557621 reapply the fix 2009-06-11 09:43:59 +00:00
Antony Dovgal
ea8d871a01 revert the fix for a while 2009-06-10 11:53:58 +00:00
Antony Dovgal
029f42dc63 MFH: fix arginfo for curl_multi_info_read() 2009-06-10 11:10:01 +00:00
Zoe Slattery
9dc6f2a873 Fixes to work on Windows as well as Linux 2009-06-01 09:01:06 +00:00
Zoe Slattery
4085d06822 better fix 2009-05-29 11:46:42 +00:00
Zoe Slattery
c3bcd7d365 fixing to work with older levels of libcurl 2009-05-29 09:46:11 +00:00
Pierre Joye
2a93efcea3 - fix build, stderr cannot be used as var or struct member 2009-05-27 22:35:26 +00:00
Jani Taskinen
1296356489 - Test for bug #48203 2009-05-26 17:19:23 +00:00
Jani Taskinen
83748ac00d MFH: Fixed bug #48203 (crash when CURLOPT_STDERR is set to regular file) 2009-05-26 15:49:15 +00:00
Jani Taskinen
9672e18acd Nuke duplicate tests 2009-05-26 10:27:08 +00:00
Ilia Alshanetsky
44fe1bf83f Fixed bug #48207 (CURLOPT_(FILE|WRITEHEADER options do not error out when
working with a non-writable stream)
2009-05-21 12:52:05 +00:00
Antony Dovgal
0813510d1b sync with HEAD 2009-05-20 09:26:12 +00:00
Kalle Sommer Nielsen
21f836ee64 MFH: Fixed compiler warnings
# (see previous commit message)
2009-05-19 18:08:57 +00:00
Jani Taskinen
ff18679418 MFH:- Fix test: since cURL 7.19.4 CURLINFO_CONTENT_LENGTH_* return -1 if the size is unknown 2009-05-19 14:05:39 +00:00
Jani Taskinen
befe469770 MFH 2009-05-18 12:51:05 +00:00
Pierre Joye
4398fbcb07 - MFH: use ZEND_ARG_ARRAY_INFO for arginfo_curl_setopt_array 2009-05-18 12:01:44 +00:00
Pierre Joye
f77d46ea36 - sync with HEAD 2009-05-18 11:58:04 +00:00
Pierre Joye
52d8816cf7 - more WS 2009-05-18 11:48:31 +00:00
Pierre Joye
b5b4b19b8b - MFH: add CURLPROXY_SOCKS4 2009-05-18 11:18:59 +00:00
Pierre Joye
4b0a0e5568 - WS 2009-05-18 11:17:51 +00:00
Pierre Joye
0f8d0d9f62 - should not have been commited 2009-05-18 10:32:04 +00:00
Pierre Joye
330e416563 - MFB: - disable file:// when safe_mode or open_basedir are enabled 2009-05-18 10:31:08 +00:00
Felipe Pena
2fa28208a6 - Added changes from testfest ParisUG && Changed line endings 2009-05-16 17:02:24 +00:00
Felipe Pena
84b1765852 - New tests (testfest ParisUG) 2009-05-16 16:37:31 +00:00
Brian Shire
4c81aa0b50 MFH: Add missing #ifdef for curl version that does not have FTP_FILEMETHOD or IPRESOLVE options. related to fix for bug #39637 2009-05-08 03:33:06 +00:00
Jani Taskinen
0b4875313a MFH: - Fixed Bug #45092header HTTP context option not being used (--with-curlwrappers) 2009-05-05 00:31:56 +00:00
Pierre Joye
d6d644b0bb - [DOC] a note about the symbol -> version page/doc 2009-05-04 14:11:45 +00:00
Pierre Joye
93941d1735 - [DOC] MFH: #39637, add CURLOPT_FTP_FILEMETHOD which accepts CURLFTPMETHOD_MULTICWD, CURLFTPMETHOD_NOCWD and CURLFTPMETHOD_SINGLECWD 2009-05-04 14:09:28 +00:00
Pierre Joye
5b3fa5afdd - MFH: [DOC] #47739. add option CURLOPT_IPRESOLVE which accepts CURL_IPRESOLVE_WHATEVER, CURL_IPRESOLVE_V4 or CURL_IPRESOLVE_V6 2009-05-04 12:12:57 +00:00
Pierre Joye
1cd9a33826 - ws/cs 2009-05-03 15:16:10 +00:00
Pierre Joye
ea57845b6e - c/p error 2009-05-03 15:03:35 +00:00
Pierre Joye
8e7031087a - [DOC] MFH: #41712, implement progress callback
- add constants  CURLOPT_PROGRESSFUNCTION
2009-05-03 14:59:46 +00:00
Jani Taskinen
2f22d5a164 MFH:- Fixed bug #48132 (configure fails to test curl ssl support if --disable-rpath is set) 2009-05-02 19:53:48 +00:00
Jani Taskinen
5c97c813a9 MFH 2009-04-30 10:41:54 +00:00
Pierre Joye
3110003f3e - simplify and use PHP_CURL 2009-04-24 09:25:25 +00:00
Pierre Joye
b7747cf30c - c/p error 2009-04-23 08:46:37 +00:00
Felipe Pena
c7bfd897e6 - MFH: Fixed bug #47616 (curl keeps crashing) 2009-03-16 15:08:56 +00:00
Stanislav Malyshev
c452af9e6a add new CURL options 2009-03-13 19:39:49 +00:00
Ilia Alshanetsky
e85ec7c864 Fixed bug #47477 (php_curl_stream_read() unnecessarily sleeps 15 secs under
heavy load)

# Patch by giuseppe bonacci
2009-02-23 15:58:19 +00:00
Ilia Alshanetsky
51f4e5efcd Fixed bug #47217 (content-type is not set properly for file uploads) 2009-01-26 15:19:55 +00:00
Antony Dovgal
34f1855168 do not define CURLE_SSH twice 2009-01-25 22:33:10 +00:00
Pierre Joye
f19f0cefa5 - nicer features list 2009-01-25 17:12:36 +00:00
Pierre Joye
7dc3ef31d2 - MFH
- [DOC] Add support for SSH via libssh2
  - new constants: CURLE_SSH, CURLSSH_AUTH_NONE, CURLSSH_AUTH_PUBLICKEY, CURLSSH_AUTH_PASSWORD, CURLSSH_AUTH_HOST, CURLSSH_AUTH_KEYBOARD, CURLSSH_AUTH_DEFAULT, CURLOPT_SSH_AUTH_TYPES, CURLOPT_KEYPASSWD, CURLOPT_SSH_PUBLIC_KEYFILE, CURLOPT_SSH_PRIVATE_KEYFILE, CURLOPT_SSH_HOST_PUBLIC_KEY_MD5
   See http://curl.haxx.se/libcurl/c/curl_easy_setopt.html fortheir roles or usages
2009-01-25 16:28:18 +00:00
Pierre Joye
9628d8da15 - check for zlib too 2009-01-25 16:21:03 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Jani Taskinen
77a63540a5 MFH:- Fixed bug #45161 (Reusing a curl handle leaks memory) 2008-12-17 14:13:40 +00:00
Jani Taskinen
3ce9e6d6d9 MFH 2008-12-17 14:00:20 +00:00
Ilia Alshanetsky
9049b6948e Fixed missing initialization of uses when copying a curl handle 2008-12-09 17:17:27 +00:00
Mikko Koppanen
aab5212b32 Added test for bug #46739 2008-12-05 11:21:44 +00:00
Mikko Koppanen
57caba14ea Fixes bug #46739 2008-12-04 13:13:22 +00:00
Ilia Alshanetsky
fdc286abee Fixed bug #46711 (cURL curl_setopt leaks memory in foreach loops). 2008-11-30 17:30:50 +00:00
Dmitry Stogov
7d4fd3fd38 Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:01:23 +00:00
Ilia Alshanetsky
d741138a46 Fixed bug #46696 (cURL fails in upload files with specified content-type) 2008-11-27 17:00:04 +00:00
Pierre Joye
60742c414d - new naming and allow libcurl static build 2008-11-19 09:28:13 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Pierre Joye
5fc86e0213 - MFH: fix build with all curl versions, even very old (thx Felipe for having found all versions info) 2008-11-11 12:26:04 +00:00
Jani Taskinen
5493b4b7d1 fix build 2008-11-11 11:56:01 +00:00
Pierre Joye
dcdf00bdfc - MFH: make the curl phpinfo more verbose 2008-11-10 22:59:28 +00:00
Felipe Pena
a4390f3e46 MFH:
- Fixed bug #46521 (Curl ZTS OpenSSL, error in config.m4 fragment)
  Noticed by: jd at cpanel dot net
2008-11-07 21:14:46 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Arnaud Le Blanc
1d5ba8bb21 MFH: initialize optional vars 2008-10-21 23:39:15 +00:00
Pierre Joye
bfced427f7 - fix zlib detection and enable features available in 7.18.1 2008-08-24 15:16:39 +00:00
Pierre Joye
613cb60f8f - MFH: fix zlib detection (shared/static) and add zlib_a support 2008-08-05 19:40:16 +00:00
Antony Dovgal
d9abccb322 MFH: fix copy/paste error (patch by Mikko) 2008-07-29 10:42:44 +00:00
Dmitry Stogov
833a2295d1 Support for closures 2008-07-17 09:53:42 +00:00
Felipe Pena
75db10f95b - MFB: Fixed bug #45220 (curl_read callback returns -1 when needs to return size_t (unsigned)) 2008-07-12 21:16:50 +00:00
David Soria Parra
b72322de22 Testfest task 93. Written by Sebastian Deutsch. 2008-06-22 05:34:06 +00:00
Alexey Zakhlestin
2618a28278 updated to the new parameter-parsing api 2008-06-21 21:51:05 +00:00
Dmitry Stogov
2ecf4bb0a7 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:20 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Ilia Alshanetsky
87eb2a9ec3 New param parsing API 2008-02-07 02:08:45 +00:00
Ilia Alshanetsky
e24c17f9b4 MFB: Fixed a safe_mode bypass in cURL identified by Maksymilian Arciemowicz. 2008-01-06 17:12:44 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Ilia Alshanetsky
d5d2b86303 Fixed bug #43620 (Workaround for a bug inside libcurl 7.16.2 that can result
in a crash)
2007-12-18 13:46:07 +00:00
Antony Dovgal
cce49d019a MFH 2007-12-04 08:56:07 +00:00
Jani Taskinen
5bf4d6d89b MFH: - Fixed bug #43092 (curl_copy_handle() crashes with > 32 chars long URL) 2007-11-16 14:21:01 +00:00
Hannes Magnusson
ccce08e668 MFH: Fix typo and remove dots in error messages 2007-10-13 11:34:43 +00:00
Michael Wallner
2448b05b4f MFH: fix CURLOPT_TIMEOUT_MS support 2007-10-03 20:34:01 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Antony Dovgal
86a022f7c7 MFH: add CURLINFO_PRIVATE & CURLOPT_PRIVATE
patch by Andrey A. Belashkov
2007-07-04 13:34:23 +00:00
Michael Wallner
d9c97cbd47 - fix typo 2007-05-25 12:47:55 +00:00
Sara Golemon
5040dbd5e8 MFH(r-1.112) Add CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS option constants 2007-05-22 08:39:20 +00:00
Michael Wallner
5fdcc761a1 - first check the SSL lib string in libcurl and then the header 2007-05-21 13:32:35 +00:00
Michael Wallner
a349109e42 - fix compile/linker agnostic runpath switch 2007-05-19 19:36:11 +00:00
Michael Wallner
6447c82454 - fixed bug #41358: configure cannot determine libcurl's SSL lib as of v7.16.2 2007-05-16 21:18:41 +00:00
Antony Dovgal
b316a030aa MFH: add CURLOPT_FTP_CREATE_MISSING_DIRS 2007-04-23 14:36:56 +00:00
Martin Kraemer
9c62ddde34 Typo 2007-03-14 09:58:14 +00:00
Rasmus Lerdorf
5b9ec4828f Off by ! in the url control char check for file:/// urls 2007-03-09 01:20:34 +00:00
Antony Dovgal
fa513e74ce MFH: fix leak 2007-02-23 20:51:02 +00:00
Antony Dovgal
7e74ff0ff1 MFH 2007-01-19 18:03:33 +00:00
Antony Dovgal
504e9e31f3 MFH: fix #40169 (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2) 2007-01-19 15:38:51 +00:00
Sara Golemon
6a8f688af2 MFH: Add CURLOPT_TCP_NODELAY constant 2007-01-09 23:13:05 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
7fe60ada00 Don't forget to free url structure 2006-12-26 16:58:23 +00:00
Ilia Alshanetsky
5e576be36f Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro). 2006-12-26 16:55:56 +00:00