Commit Graph

200 Commits

Author SHA1 Message Date
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
Sterling Hughes
2d322a13a2 close the filehandle if it is a tempfile. 2000-12-04 15:05:23 +00:00
foobar
f03b949134 Revert bad commit.
# And now I'm ready to sleep..
2000-11-23 16:31:58 +00:00
foobar
78ed6e831f Fixed some compile warnings. 2000-11-23 15:57:24 +00:00
Stanislav Malyshev
b36afe2957 Fix memory leaks in cURL.
cURL doesn't free strings we pass to him, so let PHP do it.
2000-11-22 15:46:13 +00:00
Sterling Hughes
a56c9f8e68 Hmmm, that wasn't good. 2000-11-22 15:19:59 +00:00
Hartmut Holzgraefe
1f6878e912 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
foobar
1f71f1f3c0 Remove duplicates (when curl-7.4.1 is used). 2000-11-09 02:11:45 +00:00
Sterling Hughes
ea9ac669da Fix the other part... 2000-11-05 17:22:05 +00:00
Sterling Hughes
f25ccb0a83 This should fix the garbage. 2000-11-05 17:14:16 +00:00
Stanislav Malyshev
41a2b59977 Fix crash from #7577 (torben@php.net) 2000-11-05 16:25:26 +00:00
Sterling Hughes
70f262d0c5 New e-mail address. 2000-10-27 19:10:23 +00:00
Andrei Zmievski
f1dcb32c9f Use zend_register_list_destructors_ex() instead. 2000-10-25 17:44:02 +00:00
foobar
7ef3e414e2 Makes curl extension compile again plus some typo fixes. 2000-10-22 17:29:33 +00:00
Andrei Zmievski
7b4983c8f8 Mega-patch to get better resource information for modules.
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
  * Switched register_list_destructors() to use
    zend_register_list_destructors_ex() instead
  * Updated all relevant modules to provide the resource type name
    to register_list_destructors() call
  * Updated var_dump() to output resource type name instead of number

@- Made resource type names visible, e.g. var_dump() and
@  get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Sterling Hughes
6b8faeb1f2 Fix CURLOPT_REFERER.
@ Added the curl_getinfo() function to find out information about a CURL
transfer.  This function requires cURL 4.0 or above. (Sterling)

@ Added the CURLOPT_KRB4, CURLOPT_INTERFACE, CURLOPT_QUOTE,
CURLOPT_POSTQUOTE, CURLOPT_QUOTE and CURLOPT_HTTPPROXYTUNNELL options.
(Sterling)
2000-10-20 04:57:14 +00:00
Rasmus Lerdorf
b189759bcd Clean up the alignment of configure --help output 2000-10-02 17:36:01 +00:00
Sterling Hughes
82070f1cdf Tiny change in copying of buffer. 2000-10-02 04:55:26 +00:00
Sterling Hughes
36dc3e1c20 @ Added the ability for CURLOPT_POSTFIELDS to accept an array of HTTP post
parameters. (Sterling)
@ Added the CURLOPT_HTTPHEADER option that allows for the posting of HTTP
headers to a remote site from cURL. (Sterling)
@ Add the curl_error() and curl_errno() functions. (Sterling)

Buncha other changes...

  - Changed if () else if () in curl_setopt to switch .. case
  - Fixed a couple crashes in certain cases.
  - Finally a decent error reporting scheme.
  - A few formatting changes.
2000-09-30 03:09:54 +00:00
Daniel Beulshausen
b8dabd3fb8 removed redefines 2000-09-26 12:05:37 +00:00
Daniel Beulshausen
77e7617654 cleanup, added configurations for ssl as well 2000-09-26 11:51:31 +00:00
Sterling Hughes
d44d114b75 @- Fix bug with curl places extra data in the output. (medvitz@medvitz.net) 2000-09-11 03:33:14 +00:00
Sterling Hughes
6e10dc5456 Fix up the implementation.
# it was getting hacky already.
2000-08-27 22:53:33 +00:00
Daniel Beulshausen
b6f0d041f9 deleted a few unnecceasary defines and added the Release_TS_Inline path to the libpath 2000-08-24 17:48:30 +00:00
Daniel Beulshausen
2ec7ccdf4c win32 projectfile for the curl extension 2000-08-23 16:18:28 +00:00
Sterling Hughes
cd599d17c0 Bunch o' changes..
- Add the ability to return the web page into a variable
	by setting the CURLOPT_RETURNTRANSFER constant to 1.
	- Make everything conform to the naming guidelines.
	- Delete the resource id from the file_id table when a
	resource is closed.
2000-08-20 08:28:00 +00:00
Sterling Hughes
c80f2bcba2 Purely cosmetic. 2000-08-18 13:24:00 +00:00
Andi Gutmans
056401fa6c - It should be #ifdef PHP_WIN32 2000-08-17 04:05:57 +00:00
Sterling Hughes
8a8b5dacc6 ts issues. 2000-08-17 02:14:41 +00:00
Sterling Hughes
185f6e95d8 Leftovers... 2000-08-15 17:03:48 +00:00
Sterling Hughes
d06c2d9eb1 Add Win32 support for cURL.
#  Switch this commit message with the last one and you get the
#  right commit order.
2000-08-15 16:54:48 +00:00
Sterling Hughes
d06c4b2e3f This fixes to problems:
- Apache not having the output go to stdout in some cases.
- Output being displayed before the header is displayed.

And causes the following:

- *Slightly* slower cURL transfers.
2000-08-15 16:50:14 +00:00
Sterling Hughes
bba7086ac3 - Fix spacing.
- Add error constants.
2000-08-13 19:32:09 +00:00
Sterling Hughes
2aff369398 Add CURLOPT_TRANSFERTEXT option to curl_setopt(). 2000-07-26 05:25:37 +00:00
Kristian Köhntopp
19687ea1ed Trivial change to add access to CURL version information for
user programs in order to have them react appropriately.
2000-07-25 22:15:26 +00:00
Sterling Hughes
cb44d1b30a 1. Move from experimental -> production
2.  Thread safety
3.  Set some initial options
4.  Redo the placement of some functions and options.
2000-07-24 20:00:00 +00:00
Sterling Hughes
6787071417 Add CURL support (http://curl.haxx.se).
# Currently pretty experimental, and labeled so, it
# only really works with the CGI version.  I wanted
# to get the sources in CVS, so I could give a
# reference point for some issues, and get more
# extensive testing...
#
# Does anyone know how long it is going to be till
# the next minor release?
2000-07-16 19:37:33 +00:00