Commit Graph

369 Commits

Author SHA1 Message Date
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
Antony Dovgal
0f2eed24bb MFH 2006-12-20 13:09:02 +00:00
Michael Wallner
2beee146b4 MFH: check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks 2006-12-19 21:41:25 +00:00
Ilia Alshanetsky
57eb7c0bad Adjust previous patch to work better 2006-11-21 15:53:23 +00:00
Ilia Alshanetsky
fd8378d7d6 Fixed compiler warnings 2006-11-20 19:04:21 +00:00
Edin Kadribasic
77986844c8 Tell linker that we're using stati libcurl 2006-11-14 19:57:13 +00:00
Ilia Alshanetsky
0c7e63a07e Fixed bug #39354 (Allow building of curl extension against libcurl 7.16.0) 2006-11-03 14:53:14 +00:00
Ilia Alshanetsky
03641dcea4 Fixed bug #39034 (curl_exec() with return transfer returns TRUE on empty
files).
2006-10-10 23:12:59 +00:00
Ilia Alshanetsky
f850285c40 Added missing configuration checks 2006-10-08 22:38:48 +00:00
Sebastian Bergmann
f74b1ec9b0 Fix ZTS build. 2006-10-06 03:48:00 +00:00
Antony Dovgal
a5d86612e3 MFH: decrement ch->uses (or destroy handle) when destroying multi handle 2006-10-05 15:06:40 +00:00
Ilia Alshanetsky
c8a5e8fa7a Fixed bug #38574 (missing curl constants and improper constant detection). 2006-09-18 16:11:50 +00:00
Antony Dovgal
c40975eda5 MFH: missing part of the fix for #38844 2006-09-15 15:42:53 +00:00
Antony Dovgal
fcf4f87919 still output an error, even if there is no curl_easy_strerror() 2006-09-15 15:33:14 +00:00
Antony Dovgal
0974e2af60 MFH: fix segfault in curl_multi_info_read() 2006-09-15 15:04:59 +00:00
Antony Dovgal
5111cd3af9 MFH: fix #38844 (curl_easy_strerror() is defined only since cURL 7.12.0) 2006-09-15 13:44:50 +00:00
Hannes Magnusson
ef4ff6fe9e CURL->cURL 2006-09-09 20:04:50 +00:00
Ilia Alshanetsky
fc60217820 Fixed bug #38693 (curl_multi_add_handle() set curl handle to null). 2006-09-04 16:31:27 +00:00
Ilia Alshanetsky
307b3bcbb4 Fixed bug #33770 (https:// or ftps:// do not work when --with-curlwrappers
is used and ssl certificate is not verifiable).
2006-08-30 17:49:10 +00:00
Ilia Alshanetsky
5ea3080546 Fixed bug #38637 (curl_copy_handle() fails to fully copy the cURL handle). 2006-08-29 17:10:40 +00:00
Ilia Alshanetsky
2ce982b433 Fixed condition 2006-08-10 15:02:41 +00:00
Ilia Alshanetsky
a4d2f04307 Fixed overflow on 64bit systems in str_repeat() and wordwrap().
Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are
enabled.

# Patches by Stefan E.
2006-08-10 14:40:13 +00:00
Antony Dovgal
ad3ad9bb79 MFH: fix #38269 (fopen wrapper doesn't fail on invalid hostname with curlwrappers enabled) 2006-08-01 13:28:03 +00:00
Ilia Alshanetsky
f0178f71ee Eliminate some compiler warnings 2006-07-04 20:12:38 +00:00
Hannes Magnusson
bcd06ef1b6 Bug #37961 (url should be URL) 2006-06-29 14:31:56 +00:00
Hannes Magnusson
d258bcd951 MFH: Removed obsolete arginfo include 2006-06-26 14:11:17 +00:00
Hannes Magnusson
954acfe261 MFH: Revert array type hinting 2006-06-15 15:31:54 +00:00
Hannes Magnusson
3104233019 MFH: arginfo, protos, vim folding 2006-06-11 01:42:17 +00:00
Michael Wallner
d6212d96f4 - only try to fetch stream context options if context is set 2006-06-06 21:38:03 +00:00
Michael Wallner
3dcef1b9be - implement standard http stream wrapper options, fixes bug #34180
- skip empty headers in on_header_available()
2006-05-25 12:41:35 +00:00
Ilia Alshanetsky
24f3d55f3c Added control character checks for cURL extension's open_basedir/safe_mode
checks.
2006-05-21 16:31:57 +00:00
Brian France
39441f79e6 MFH: Add implementation of curl_multi_info_read 2006-05-08 15:29:28 +00:00
Antony Dovgal
65fcbcbdc0 fix bug #37061 (curl_exec() doesn't zero-terminate binary strings) - we get the data length from cURL, so it's binary safe.
fix leak appearing when re-using curl handle
2006-04-13 11:26:10 +00:00
Michael Wallner
ed58b573a1 MFH: fix bug #36152 problems with curl+ssl and pgsql+ssl in same PHP 2006-01-26 13:23:33 +00:00
Ilia Alshanetsky
5f25d80d10 cURL extension news. 2006-01-24 20:11:14 +00:00
Ilia Alshanetsky
8340e30313 Revert unrelated parts of the previous patch. 2006-01-05 18:07:55 +00:00
Ilia Alshanetsky
e9c813af61 MFH4: Fixed bug #35908 (curl extension uses undefined GCRY_THREAD_OPTIONS_USER). 2006-01-05 18:05:37 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
Ilia Alshanetsky
cdbe4a5cab Improved safe_mode/open_basedir check. 2005-11-27 20:07:36 +00:00
Antony Dovgal
af34ed0d97 fix #35341 (Fix for bug #33760 breaks build with older curl) 2005-11-22 22:53:34 +00:00
Ilia Alshanetsky
0ba24fb65a Additional open_basedir/safe_mode checks. 2005-10-31 23:44:40 +00:00
foobar
143d1c8011 MFH 2005-10-26 11:33:25 +00:00
Michael Wallner
60efdff75f - MFH: thread safe SSL crypto locks, fixes bug #33760 2005-10-25 14:32:33 +00:00
Ilia Alshanetsky
8d476ded8e MFH: Further URL validations in safe_mode/open_basedir configs. 2005-10-17 02:43:20 +00:00
Ilia Alshanetsky
71bd44ac02 MFH: Added missing safe_mode checks. 2005-10-06 20:47:41 +00:00
Ilia Alshanetsky
bcf354a97a MFH: Missing safe_mode/open_basedir checks for file uploads. 2005-10-05 14:35:30 +00:00
Ilia Alshanetsky
b5e2cc5197 MFH: Fixed bug #34420 (Possible crash inside curl_multi_remove_handle()). 2005-09-08 14:50:23 +00:00
foobar
4f89b2e0cb Fix crash with e.g. stream_get_meta_data() 2005-08-25 12:25:10 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Ilia Alshanetsky
a6931b3923 Cleanup buffers on handle re-use. 2005-07-18 13:47:33 +00:00
Ilia Alshanetsky
2889c497f5 Added 2 missing cURL options available in all versions. 2005-07-16 18:33:09 +00:00
George Schlossnagle
d0ec239661 Darwin seems to like this much better. 2005-07-15 16:47:48 +00:00
Ilia Alshanetsky
498595a122 Fixed bug #33475 (cURL handle is not closed on curl_close(). 2005-06-26 17:31:07 +00:00
Antony Dovgal
56a68b5be1 fix bug #33222 (segfault when CURL handle is closed in a callback).
fix segfaults when CURL callback functions throw exception.
2005-06-02 21:04:12 +00:00
foobar
626253940e - Added PHP_INSTALL_HEADERS() macro
- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
2005-05-07 02:51:53 +00:00
Ilia Alshanetsky
8b8940ba84 php_error() -> php_error_docref(). 2005-04-21 21:11:23 +00:00
foobar
5718cb15a3 - Fixed bug #30609 (cURL functions bypass open_basedir) 2005-03-14 09:02:23 +00:00
Rasmus Lerdorf
4909775f04 Fix for bug #31901 2005-02-09 16:22:48 +00:00
Joe Orton
792032c6bb Fix #31413: curl POSTFIELDS usage on 64-bit platforms. 2005-01-05 21:33:56 +00:00
Rob Richards
bd8aba8c8d fix typo so it compiles 2004-11-18 16:35:04 +00:00
Ilia Alshanetsky
fae64ba40c Added support for better control over FTP encryption protocols. 2004-11-14 20:00:16 +00:00
Joe Orton
2685ca935f Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Ilia Alshanetsky
5b95dc5faf MFB: Fixed bug #30613 (Prevent infinite recursion in url redirection). 2004-11-01 04:55:01 +00:00
Ilia Alshanetsky
8c8fba0841 Fixed bug #30475 (curl_getinfo() may crash in some situations). 2004-10-18 22:41:24 +00:00
Sterling Hughes
58cb0d77a0 fix wrong check from return value, binary content should not be \0'd,
non-binary content should be \0'd.
2004-09-10 20:36:45 +00:00
Sara Golemon
579575e430 Use user_agent ini setting if it's available. 2004-08-31 20:11:18 +00:00
Ilia Alshanetsky
823e4029f7 MFB: Removed unneeded bits. 2004-08-20 13:53:16 +00:00
Ilia Alshanetsky
67e3288a5d Added more missing cURL options. 2004-08-20 00:55:56 +00:00