Xinchen Hui
0a7395e009
Happy New Year
2013-01-01 16:28:54 +08:00
Pierrick Charron
c46e1cdcae
Fixed bug #55438 (Curlwapper is not sending http header randomly)
...
Since curl multi is used, it sometime happen that the resource is freed before
the curl multi really execute the query. The patch will store the headers
slist in the curlstream handle and free it only when the stream will be closed
2012-12-19 19:40:29 -05:00
Felipe Pena
e4ca0ed09f
- Year++
2012-01-01 13:15:04 +00:00
Pierrick Charron
a1f1e0bcf9
Fix memory leak when using libcurl < 7.17.0
2011-11-22 05:19:37 +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
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
Sterling Hughes
425c714435
# Actually fix the bug this time (I fixed another bug last time :)
2001-04-28 21:44:44 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Sterling Hughes
2f0238dc4e
Change e-mail address
...
# Can I get someone to change my cvsusers e-mail address to
# sterling@designmultimedia.com ?
2001-02-15 16:20:13 +00:00
Sterling Hughes
0e6fe30139
Make daniel's changes work in ZTS mode...
2001-01-12 10:49:38 +00:00
Daniel Beulshausen
490cca07de
take out emtpy struct
...
# vc chokes on them
2001-01-12 10:26:29 +00:00