Commit Graph

444 Commits

Author SHA1 Message Date
Antony Dovgal
006646df9c fix build 2009-05-28 09:45:20 +00:00
Jani Taskinen
91a262adbd - Fix build for winblows 2009-05-28 09:09:02 +00:00
Jani Taskinen
9dd2cd6262 - Test for bug #48203 2009-05-26 17:19:09 +00:00
Jani Taskinen
017529f11a - Fixed bug #48203 (crash when CURLOPT_STDERR is set to regular file) 2009-05-26 15:48:28 +00:00
Jani Taskinen
84bf8253b1 - Nuke duplicate tests 2009-05-26 10:27:55 +00:00
Ilia Alshanetsky
d2eb7e4601 MFB: Fixed bug #48207 (CURLOPT_(FILE|WRITEHEADER options do not error out
when working with a non-writable stream)
2009-05-21 12:52:59 +00:00
Antony Dovgal
18ce5138f3 fix segfault 2009-05-20 09:26:03 +00:00
Kalle Sommer Nielsen
da62d8d02e Fixed compiler warnings
# Is it intended that curl_progress should cast to long rather than keeping the
# double? Or doesn't it matter?
2009-05-19 18:08:13 +00:00
Jani Taskinen
a04a53537b - Fix test: since cURL 7.19.4 CURLINFO_CONTENT_LENGTH_* return -1 if the size is unknown 2009-05-19 14:05:29 +00:00
Jani Taskinen
5230623695 - fix CS, merged one parameter parsing patch missing from HEAD 2009-05-18 12:50:44 +00:00
Jani Taskinen
7a60c06f31 - Fix CS 2009-05-18 12:14:25 +00:00
Pierre Joye
da4f049b2b - sync with 5.3 2009-05-18 12:03:05 +00:00
Pierre Joye
9640fbf6e1 - return NULL on invalid args 2009-05-18 11:50:29 +00:00
Pierre Joye
5fa7af759a - WS 2009-05-18 11:48:56 +00:00
Pierre Joye
5dca728cec - MFB: - disable file:// when open_basedir are enabled 2009-05-18 11:40:25 +00:00
Felipe Pena
cc2c1c3360 - Added changes from testfest ParisUG && Changed line endings 2009-05-16 17:02:02 +00:00
Felipe Pena
79b099b638 - New tests (testfest ParisUG) 2009-05-16 16:36:58 +00:00
Brian Shire
528f302fef 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:32:54 +00:00
Jani Taskinen
0ad777e011 - Fixed bug #45092 (header HTTP context option not being used with --with-curlwrappers)
[DOC] Synced regular and cURL http wrapper "header" option to accept
[DOC] either string or array.
2009-05-05 00:30:40 +00:00
Pierre Joye
6d98192934 - [DOC] a note about the symbol -> version page/doc 2009-05-04 14:11:34 +00:00
Pierre Joye
ecfe3a25c5 - [DOC] #39637, add CURLOPT_FTP_FILEMETHOD which accepts CURLFTPMETHOD_MULTICWD, CURLFTPMETHOD_NOCWD and CURLFTPMETHOD_SINGLECWD 2009-05-04 14:09:12 +00:00
Pierre Joye
7632e4a6f8 - [DOC] #47739. add option CURLOPT_IPRESOLVE which accepts CURL_IPRESOLVE_WHATEVER, CURL_IPRESOLVE_V4 or CURL_IPRESOLVE_V6 2009-05-04 12:12:40 +00:00
Pierre Joye
25932bbcd5 - #47966, cannot access curl info array without binary
To check: why add_assoc_ascii_string_ex fails while add_assoc_ascii_string works
2009-05-03 21:47:52 +00:00
Pierre Joye
6d6ad6a1ac - ws/cs 2009-05-03 15:16:24 +00:00
Pierre Joye
5f72143f87 - c/p error 2009-05-03 15:03:53 +00:00
Pierre Joye
58db42ea55 - [DOC] #41712, implement progress callback
- add constants CURLOPT_NOPROGRESS and CURLOPT_PROGRESSFUNCTION
2009-05-03 14:58:06 +00:00
Jani Taskinen
0fef8f609c - Fixed bug #48132 (configure fails to test curl ssl support if --disable-rpath is set) 2009-05-02 19:53:33 +00:00
Jani Taskinen
e51d4cb545 - Add missing test 2009-04-30 10:41:09 +00:00
Pierre Joye
129c98c983 - simplify and use PHP_CURL 2009-04-24 09:25:14 +00:00
Pierre Joye
763248af68 - c/p error 2009-04-23 08:46:15 +00:00
Felipe Pena
85c7789052 - Fixed bug #47616 (curl keeps crashing) 2009-03-16 15:05:21 +00:00
Stanislav Malyshev
878b8c62b8 add new CURL options 2009-03-13 19:41:48 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Ilia Alshanetsky
2416c93505 MFB: Fixed bug #47477 (php_curl_stream_read() unnecessarily sleeps 15 secs
under heavy load)
2009-02-23 15:58:41 +00:00
Ilia Alshanetsky
21d281ff8c MFB: Fixed bug #47217 (content-type is not set properly for file uploads) 2009-01-26 15:21:49 +00:00
Antony Dovgal
7554f8df7b ifdef -> if 2009-01-25 23:02:18 +00:00
Antony Dovgal
f32138dcde do not define CURLE_SSH twice 2009-01-25 22:33:19 +00:00
Pierre Joye
7c73ea1f9e - nicer features list 2009-01-25 17:12:22 +00:00
Pierre Joye
3765a0903f - [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:27:25 +00:00
Pierre Joye
deb0695069 - MFB:
- update check for libs
 - add HAVE_CURL_EASY_STRERROR, HAVE_CURL_MULTI_STRERROR, HAVE_CURL_VERSION_INFO
2009-01-25 16:22:44 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Jani Taskinen
bfe52a53fc - Fix leak 2008-12-17 15:38:32 +00:00
Jani Taskinen
c7a56d604b - Fixed bug #45161 (Reusing a curl handle leaks memory) 2008-12-17 14:13:25 +00:00
Jani Taskinen
b0fdff274b fix typoes 2008-12-17 14:00:07 +00:00
Jani Taskinen
b2f10ac965 - Added test for bug #45161 2008-12-17 13:59:21 +00:00
Ilia Alshanetsky
153310949f MFB: Fixed missing initialization of uses when copying a curl handle 2008-12-09 17:17:49 +00:00
Mikko Koppanen
09ff537b36 Added test for bug #46739 2008-12-05 11:21:15 +00:00
Mikko Koppanen
81bba98a3e Fixes bug #46739 2008-12-04 13:12:49 +00:00
Ilia Alshanetsky
926c4f4a25 MFB: Fixed bug #46711 (cURL curl_setopt leaks memory in foreach loops). 2008-11-30 17:35:56 +00:00
Dmitry Stogov
e5454b359a Fixed bug #46409 (__invoke method called outside of object context when using array_map) 2008-11-27 19:02:45 +00:00
Ilia Alshanetsky
496ec83e38 MFB: Fixed bug #46696 (cURL fails in upload files with specified
content-type)
2008-11-27 17:03:22 +00:00
Felipe Pena
5af16d68f5 - Fixed segfault [only in this branch, because add_next_* are macro] 2008-11-22 14:41:21 +00:00
Pierre Joye
ffb726203b - new naming and allow libcurl static build
- c/p error for zlib
2008-11-19 09:28:54 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Pierre Joye
0abf7238d2 - fix build with all curl versions, even very old (thx Felipe for having found all versions info) 2008-11-11 12:25:37 +00:00
Jani Taskinen
ac43ac897f fix build 2008-11-11 11:56:39 +00:00
Pierre Joye
e1ab50627b - make the curl phpinfo more verbose 2008-11-10 22:58:44 +00:00
Felipe Pena
428b2c7906 - Fixed bug #46521 (Curl ZTS OpenSSL, error in config.m4 fragment)
Noticed by: jd at cpanel dot net
2008-11-07 21:11:26 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Arnaud Le Blanc
51f7cc3925 initialize optional vars 2008-10-21 23:36:17 +00:00
Pierre Joye
1dddb79a32 - fix zlib detection (shared/static) and add zlib_a support 2008-08-05 19:39:51 +00:00
Antony Dovgal
2eeae6909e fix 5 years old copy/paste error (patch by Mikko) 2008-07-29 10:42:15 +00:00
Dmitry Stogov
0cfa6a5977 support for closures 2008-07-17 09:52:51 +00:00
Felipe Pena
8514a96c99 - MFB: Fixed bug #45220 (curl_read callback returns -1 when needs to return size_t (unsigned)) 2008-07-12 21:20:10 +00:00
Antony Dovgal
f5d82e28ce fix curl_init()
"s" in HEAD accepts zstr
2008-07-01 08:10:47 +00:00
David Soria Parra
964718cd95 Testfest task 93. Written by Sebastian Deutsch. 2008-06-22 05:09:43 +00:00
Dmitry Stogov
1d0f893b49 Lazy EG(active_symbol_table) initialization 2008-04-29 08:15:49 +00:00
Felipe Pena
a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Ilia Alshanetsky
f8b7f4bed6 MFB: Fixed bug #43620 (Workaround for a bug inside libcurl 7.16.2 that can
result in a crash)
2007-12-18 13:48:19 +00:00
Antony Dovgal
b3a45d492d fix folding 2007-12-04 08:55:58 +00:00
Jani Taskinen
fc5d24284f - Fixed bug #43092 (curl_copy_handle() crashes with > 32 chars long URL) 2007-11-16 14:18:59 +00:00
Michael Wallner
25f77827dd - fix CURLOPT_TIMEOUT_MS support (available since 7.16.2) 2007-10-03 20:32:52 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Sara Golemon
16b1288ee1 Bagder says I don't need these ifdefs 2007-08-21 21:23:35 +00:00
Sara Golemon
0deb7d03df Add support for CURLPROXY_SOCKS4 2007-08-20 18:56:05 +00:00
Antony Dovgal
0c0166979d add CURLINFO_PRIVATE & CURLOPT_PRIVATE
patch by Andrey A. Belashkov
2007-07-04 13:33:01 +00:00
Michael Wallner
c54763d35a - fix typo 2007-05-25 12:48:39 +00:00
Michael Wallner
31509b6433 MFB: first check the SSL lib string in libcurl and then the header 2007-05-21 13:34:39 +00:00
Michael Wallner
97399e90f7 - fix compiler/linker agnostic runpath switch 2007-05-19 19:36:35 +00:00
Michael Wallner
b83260a150 MFB: r1.28.2.3.2.4 2007-05-16 21:19:53 +00:00
Antony Dovgal
84827aabc4 add CURLOPT_FTP_CREATE_MISSING_DIRS 2007-04-23 14:36:38 +00:00
Sara Golemon
68fb6f020b Add support for CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS 2007-04-17 18:39:18 +00:00
Martin Kraemer
e46b1b3747 Typo 2007-03-14 09:49:58 +00:00
Rasmus Lerdorf
bdd22775fe MFB Off by ! in file:/// control char check 2007-03-09 01:22:47 +00:00
Antony Dovgal
b4f2b5d1df fix leak
no need to allocate the buffer if there was no data
2007-02-23 20:50:17 +00:00
Antony Dovgal
d92352967c improve the fix 2007-01-19 18:03:25 +00:00
Antony Dovgal
70863e0395 fix #40169 (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2) 2007-01-19 15:38:02 +00:00
Sara Golemon
ea81a3a7b7 Add CURLOPT_TCP_NODELAY 2007-01-08 20:04:56 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
fdf33c7593 MFB: Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro). 2006-12-26 16:57:51 +00:00
Antony Dovgal
6fe75a0ae0 gracefully bail out on invalid header 2006-12-20 13:08:54 +00:00
Michael Wallner
88cd3100c7 - check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks 2006-12-19 21:41:12 +00:00
Ilia Alshanetsky
e0b72d28c6 Improve handling of POST data with Andrei's help. 2006-12-09 14:37:40 +00:00
Hannes Magnusson
815ec53657 Fix build 2006-12-09 14:07:13 +00:00
Ilia Alshanetsky
6ef2d0dd23 Fixed typo 2006-12-08 03:13:41 +00:00
Ilia Alshanetsky
e8101a6d16 Allow POST of unicode data as utf8 2006-12-08 00:46:01 +00:00
Ilia Alshanetsky
38d622732d Allow submission of unicode data in utf8 form 2006-12-07 01:06:54 +00:00
Ilia Alshanetsky
374a5b63c6 Final set of unicode changes 2006-12-06 18:40:55 +00:00