Commit Graph

86 Commits

Author SHA1 Message Date
Zeev Suraski
aa1772ca72 More TSRMLS_FETCH annihilation 2001-07-31 05:44:11 +00:00
Zeev Suraski
c43806f415 Zend compatibility patch 2001-07-30 08:24:42 +00:00
Zeev Suraski
d87cc976e1 Redesigned thread safety mechanism - nua nua 2001-07-28 11:36:37 +00:00
Zeev Suraski
fe6f8712a4 - Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Stanislav Malyshev
e2a7a6b0f6 Prevent cURl from always outputting the header. Fix bug #12018 2001-07-18 10:47:54 +00:00
Sterling Hughes
f00791ce24 add missing break statements. 2001-07-13 16:44:44 +00:00
Sterling Hughes
fc729b7cd5 Herr sascha's reccomendation. 2001-07-11 23:03:24 +00:00
Sterling Hughes
f76c42688d Return proper length, thanks for excellent reports by Colin. 2001-07-11 18:10:52 +00:00
Sterling Hughes
dd3a7680ca fix. 2001-07-11 01:06:09 +00:00
Sterling Hughes
203ea6c51d # I think i am quite stupid. 2001-07-10 20:31:49 +00:00
Sterling Hughes
5e4e376571 If the transfer fails, still free the buffer if it exists. 2001-07-10 20:09:56 +00:00
Sterling Hughes
4dc55c14a4 Fix possible corruption problem with curl_errno() and curl_error() 2001-07-02 12:08:21 +00:00
Sterling Hughes
d097b0ed86 Fix mispell. 2001-07-02 11:56:08 +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
Stig Bakken
2a61bad994 (PHP curl_setopt) fix CURLOPT_HTTPHEADER crasher (Stig) 2001-06-12 20:23:14 +00:00
Rasmus Lerdorf
81e2cf03ac Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Sterling Hughes
5ede574d49 Speed up data being sent to stdout 2001-05-27 19:11:09 +00:00
foobar
43e41ddb93 curl-config tells us which libraries it has compiled with. So we should use it. 2001-05-27 18:52:33 +00:00
Sterling Hughes
43865fb3c2 . 2001-05-27 01:16:45 +00:00
Sterling Hughes
1b20eacd21 so says sniper, and so it shall be. 2001-05-27 01:15:27 +00:00
Stig Bakken
1beda9ee1e * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build) 2001-05-24 10:07:29 +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
db58472b56 Register the binary transfer option 2001-05-14 21:02:31 +00:00
Sterling Hughes
7bf6869583 fix crash bug 2001-05-06 22:24:25 +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
Andi Gutmans
0ac0f656ae - Fix possible buffer overflow. Always better to use strlcpy() instead
of strncpy()
2001-05-02 22:22:16 +00:00
Sterling Hughes
21032fee6b remove last minute garbage that snuck in... 2001-04-30 16:30:46 +00:00
Sterling Hughes
33d5c80bcd Add some missing constants. 2001-04-30 14:46:04 +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
Daniel Beulshausen
cb7c65d052 fix win32 build 2001-04-30 09:57:16 +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
Sterling Hughes
d53ab0ae48 fix bug #10541 2001-04-28 21:37:45 +00:00
Sterling Hughes
a59a85b598 Fixed a crash bug.
Return the proper amount.
2001-04-24 22:10:41 +00:00
foobar
8a26918ed1 Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00
Sterling Hughes
ad8fd43e10 remove some unneccessary casts, remove unneccessary error casts, standardize
the coding format for some of the stuff.
2001-03-20 21:30:42 +00:00
Sterling Hughes
9b4c5db8ae Remove some unnecessary error checking 2001-03-20 01:46:41 +00:00
foobar
499b63a354 If AC_CHECK_LIB fails, assume that --with-openssl is needed 2001-03-11 00:49:16 +00:00
Sterling Hughes
d1fdea8373 add a warn not available for curl_getinfo().
remove unneccessary error checking.
2001-03-03 01:06:55 +00:00
Andi Gutmans
eb6ba01d1c - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
foobar
2c3b7385bf Fixed a typo in constant definitions and a possible crash in curl_setopt().
# pr: #9181
2001-02-16 14:31:37 +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
foobar
d52824c42d Fix pr #8305. 2001-01-03 16:07:55 +00:00
Zeev Suraski
aa6d2ac5d0 Heads up people!
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
2000-12-22 12:57:09 +00:00
Stanislav Malyshev
62f626b157 Kill warning 2000-12-13 09:44:06 +00:00
foobar
9eaddc999d Fixed bug #8145 2000-12-07 11:01:32 +00:00