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
33d3eb1e43
Fixed bug #55635
2011-11-22 17:13: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
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
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
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Felipe Pena
0203cc3d44
- Year++
2011-01-01 02:17:06 +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
Sebastian Bergmann
9ba1e81665
sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php
2010-01-03 09:23:27 +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
Sriram Natarajan
27dccf7ac0
- Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()).
2009-07-21 20:32:32 +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
83748ac00d
MFH: Fixed bug #48203 (crash when CURLOPT_STDERR is set to regular file)
2009-05-26 15:49:15 +00:00
Pierre Joye
8e7031087a
- [DOC] MFH: #41712 , implement progress callback
...
- add constants CURLOPT_PROGRESSFUNCTION
2009-05-03 14:59:46 +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
Sebastian Bergmann
d1dded8751
MFH: Bump copyright year, 2 of 2.
2007-12-31 07:17:19 +00:00
Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +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
5f25d80d10
cURL extension news.
2006-01-24 20:11:14 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
George Schlossnagle
d0ec239661
Darwin seems to like this much better.
2005-07-15 16:47:48 +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
Sterling Hughes
177db33c63
add the curl_copy_handle() function which will exactly duplicate a cURL handle.
...
Useful when you have multiple "similair" transforms as with a multi handle with
only small variances (like the URL)
2004-03-12 18:37:55 +00:00
Ilia Alshanetsky
21a7e57ae7
Fixed memory leak in the multi interface.
...
Fixed proto of curl_multi_exec().
Fixed crash in curl resource attached to curl multi resource is manually
freed via curl_close().
2004-03-11 00:11:18 +00:00
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
...
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
foobar
cc011660e7
Fix the build
2003-08-05 23:50:59 +00:00
Zeev Suraski
90b29aa076
Replace fast_call_user_function() with zend_call_function()
2003-08-05 10:29:03 +00:00
Edin Kadribasic
23a9f80f89
ZTS Fixes
2003-06-19 23:13:28 +00:00
Edin Kadribasic
7886bc93f6
Win32 build fixes
2003-06-19 23:07:14 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Sterling Hughes
3de6a7d3b2
switch over to using fast_call_user_function() with the callbacks
2003-05-21 23:15:28 +00:00
Sterling Hughes
7ed6fd22bc
use the new TSRMLS_FETCH_FROM_CTX() macro
2003-04-27 22:15:19 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Sterling Hughes
537284418c
add multi support and reorganize things a bit...
2002-11-13 22:25:33 +00:00
Sterling Hughes
71d316e39e
add support for curl 7.10.* constants (at least most of them)
...
add support for persistent connections
2002-11-08 17:58:43 +00:00
Wez Furlong
fc1ef270ce
Implement curl based wrappers.
...
Currently read-only, and http is the only thing tested.
Because of this, using them can be controlled by configure:
--with-curlwrappers Use CURL for url streams
Not for production use...
This enables http, https, ftp and ldap protocols as streams.
2002-08-12 15:56:13 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Sterling Hughes
958675c067
fix compile
2001-09-22 16:56:21 +00:00
Sterling Hughes
0216627522
@ Fixed a crash when using the CURLOPT_WRITEHEADER option. (Sterling)
...
# Folks please test, I've tested a limited amount of test cases, however,
# this change is far reaching, so I couldn't test all the necessary things
2001-06-25 15:14:20 +00:00
Daniel Beulshausen
741fbe5fc6
winsock is already initialized in an higher version by php
2001-05-17 17:13:47 +00:00
Sterling Hughes
ffc997f149
Add a compile check for the cURL version and fix the compile in general.
2001-05-16 23:43:30 +00:00
Sterling Hughes
00421e7c83
leftovers.....
2001-05-14 21:04:23 +00:00
Sterling Hughes
1ae44c8e49
Make it compile with the latest cURL cvs, heck it even works.
2001-05-04 04:20:38 +00:00
Sterling Hughes
ea2cf1856f
# Ok, big ass change list. Most of the changes are NEW's worthy, so
...
# I'll enter them directly there, not here.... The non-newsworthy code
# is:
Added REGISTER_CURL_CONSTANT() a wrapper around REGISTER_LONG_CONSTANT()
Re-vamp the internal php_curl structure.
Properly free allocated slist's and HttpPost structures
many whitespace changes
speed improvements (in the post handling and slist area's)
# Furthermore, as a side note, while the code I'm committing is correct,
# no one will be able to compile it yet and test it, as it requires a
# patched version of curl (if you really want to try it out and can't
# wait a day or two, send me a private mail)
2001-04-30 14:36:19 +00:00