Commit Graph

404 Commits

Author SHA1 Message Date
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
Ilia Alshanetsky
aa6e70f216 First part of unicode upgrade 2006-12-06 17:52:11 +00:00
Ilia Alshanetsky
f7289c93db Make functions as being unicode safe 2006-12-06 16:25:17 +00:00
Ilia Alshanetsky
f1fdf21706 MFB: Adjust previous patch to work better 2006-11-21 15:58:12 +00:00
Ilia Alshanetsky
f09218a04c MFB: Fixed compiler warnings 2006-11-20 19:06:09 +00:00
Edin Kadribasic
05a3c2a14b MFB: Tell linker that we're using stati libcurl 2006-11-14 19:57:35 +00:00
Ilia Alshanetsky
0311ffef1f MFB: Fixed bug #39354 (Allow building of curl extension against libcurl
7.16.0)
2006-11-03 14:53:27 +00:00
Ilia Alshanetsky
1032b2eaa3 MFB: Fixed bug #39034 (curl_exec() with return transfer returns TRUE on
empty files).
2006-10-10 23:13:13 +00:00
Ilia Alshanetsky
6c3b4288bb MFB: Added missing configuration checks 2006-10-08 22:39:48 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Sebastian Bergmann
b7dc089fc2 MFB: Fix ZTS build. 2006-10-06 03:49:04 +00:00
Antony Dovgal
9adc8c3931 decrement ch->uses (or destroy handle) when destroying multi handle 2006-10-05 15:06:11 +00:00
Ilia Alshanetsky
b8b3ade128 MFB: Fixed bug #38574 (missing curl constants and improper constant
detection).
2006-09-18 16:13:00 +00:00
Antony Dovgal
4d4166fcbc missing part of the fix for #38844 2006-09-15 15:42:39 +00:00
Antony Dovgal
b8e416139d MFB: still output an error, even if there is no curl_easy_strerror() 2006-09-15 15:33:30 +00:00
Antony Dovgal
da064ca404 fix segfault in curl_multi_info_read() 2006-09-15 15:04:03 +00:00
Antony Dovgal
b6596bebc7 fix #38844 (curl_easy_strerror() is defined only since cURL 7.12.0) 2006-09-15 13:43:55 +00:00
Hannes Magnusson
8b427acfd0 Be overly picky: CURL->cURL 2006-09-09 20:03:55 +00:00
Ilia Alshanetsky
5e14e8ee0c MFB: Fixed bug #38693 (curl_multi_add_handle() set curl handle to null). 2006-09-04 16:31:38 +00:00
Ilia Alshanetsky
162a77db45 Added ftps portion of the patch 2006-08-30 18:21:27 +00:00
Ilia Alshanetsky
455fd471de MFB: 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:28 +00:00
Ilia Alshanetsky
a577e39142 MFB: Fixed bug #38637 (curl_copy_handle() fails to fully copy the cURL
handle).
2006-08-29 17:10:52 +00:00
Ilia Alshanetsky
fa48ce6810 MFB: Various security fixes 2006-08-10 19:02:32 +00:00
Antony Dovgal
54b14feba5 fix #38269 (fopen wrapper doesn't fail on invalid hostname with curlwrappers enabled) 2006-08-01 13:26:56 +00:00
Ilia Alshanetsky
a033c5e7f6 MFB: Eliminate some compiler warnings 2006-07-04 20:13:40 +00:00
Hannes Magnusson
0a2cfcce41 MFB: url -> URL 2006-06-29 14:32:24 +00:00
Hannes Magnusson
7589f995c9 Removed obsolete arg_info include 2006-06-26 14:10:57 +00:00
Hannes Magnusson
284ad23f60 Add array type hinting
Remove unnecessary array checkes
2006-06-15 16:25:12 +00:00
Hannes Magnusson
66ad36259b Revert array type hinting 2006-06-15 15:31:39 +00:00
Hannes Magnusson
e6487d115e Added argument info
Fixed protos
Fixed vim folding
2006-06-10 22:59:40 +00:00
Michael Wallner
ebe449fde1 MFB: only try to fetch stream context options if context is set 2006-06-06 21:38:28 +00:00
Michael Wallner
9b884c1dbe MFB: fix bug #34180, --with-curlwrappers discards stream context options 2006-05-25 12:47:46 +00:00
Ilia Alshanetsky
ef29a49de6 Added control character checks for cURL extension's open_basedir/safe_mode
checks.
2006-05-21 16:32:10 +00:00
Brian France
212e185458 - Add implementation of curl_multi_info_read (Brian)
Not adding to PHP 5_1, but should go into 5_2.
2006-05-03 19:52:48 +00:00
Antony Dovgal
52972cc61f MF51:
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:43 +00:00
foobar
b8cdb46cce - More safe_mode left-overs. 2006-04-11 11:32:06 +00:00
Andi Gutmans
c28cff57d1 - Couple of compile fixes. 2006-02-19 05:05:42 +00:00
Andi Gutmans
ac1e7362b3 - More safe_mode nuking 2006-02-19 03:07:39 +00:00
Andi Gutmans
e94e25e621 Start nuking safe_mode. Still a lot of work to do... 2006-02-19 00:55:22 +00:00
Michael Wallner
98ca921fb2 - fix bug #36152 problems with curl+ssl and pgsql+ssl in same PHP 2006-01-26 13:20:56 +00:00
Ilia Alshanetsky
6213faa402 MFB4: Fixed bug #35908 (curl extension uses undefined GCRY_THREAD_OPTIONS_USER). 2006-01-05 18:06:15 +00:00