Commit Graph

152 Commits

Author SHA1 Message Date
Wez Furlong
9ae3c2f7bd Commit these before Sterling renames the files again :-)
When curlstreams are enabled, registers a each supported protocol
with PHP.
"More Correctly" implement eof for curlstreams.
Still not ready for anything like primetime.
2002-11-14 11:41:24 +00:00
Sterling Hughes
89ea16ffaa remove C++ comments 2002-11-14 04:07:51 +00:00
Sterling Hughes
9d04acdaaa curl_multi_info_read is unimplemented... 2002-11-13 22:43:31 +00:00
Sterling Hughes
537284418c add multi support and reorganize things a bit... 2002-11-13 22:25:33 +00:00
Derick Rethans
30daa9489c - Make it rely on cURL version 7.9.8 again, so that we can start with the
Release Process.
2002-11-10 21:26:14 +00:00
Sterling Hughes
c4bb7f4776 add a whole bunch of constants that make the interface somewhat up-to-date. 2002-11-09 13:52:00 +00:00
Sterling Hughes
767c02af51 add check for curl 7.10.2 2002-11-09 13:08:49 +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
be769483d5 Really disable curlwrappers configure option. 2002-11-07 18:07:03 +00:00
Wez Furlong
ec955b07bb Disable --with-curlwrappers.
(Pending support from libcurl itself)
2002-11-06 10:24:48 +00:00
Ilia Alshanetsky
62aefeb01f Fixed ZTS build. 2002-10-22 18:54:09 +00:00
Sterling Hughes
102c945501 no need to double fetch 2002-10-21 22:35:59 +00:00
Derick Rethans
f85e6fe51d - Added CURLOPT_FTP_USE_EPSV option. (Patch by Alex Howansky
<alex@wankwood.com>)
2002-10-02 16:44:48 +00:00
Wez Furlong
4d8a07d529 Implement read buffering in streams.
Eliminate similar code from network.c.
Implement fgets equivalent at the streams level, which can detect
the mac, dos and unix line endings and handle them appropriately.
The default behaviour is unix (and dos) line endings.
An ini option to control this behaviour will follow.
# Don't forget to make clean!
# I've done some testing but would appreciate feedback from
# people with scripts/extensions that seek around a lot.
2002-09-23 01:47:04 +00:00
foobar
3bf7519210 @- Added --disable-all configure option. (Jani) 2002-09-04 18:47:28 +00:00
Derick Rethans
8218b5838c @- PHP's cURL extention now requires cURL version 7.9.8 (Derick)
- Bump up required version number of cURL to 7.9.8
2002-08-25 12:24:40 +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
Sterling Hughes
3754f76507 add support for the curl dns cache 2002-07-31 22:10:58 +00:00
foobar
d1e3622fcc - Fix bug: #18509, e.g. setting CURLOPT_BINARYTRANSFER succeeds always.
- Also set the binary mode ONLY if the passed value is true..
2002-07-26 22:57:14 +00:00
foobar
0790c58f96 Fixed bug: #18250 2002-07-11 02:31:38 +00:00
Sterling Hughes
f7a5c05bb6 formatting fixes 2002-07-03 12:02:17 +00:00
Sterling Hughes
51e5a578b7 fix bug #17963 2002-07-03 11:50:00 +00:00
Derick Rethans
8967b5725b Unify error messages 2002-06-26 07:24:47 +00:00
Sterling Hughes
7201d8b54e fix bug #15150, thanks to daniel at haxx.se for the fix 2002-04-03 23:59:36 +00:00
Derick Rethans
66e510f60a - Fix for bug #16232 (Patch by Alan Knowles <alan@akbkhome.com>) 2002-03-24 10:40:21 +00:00
Hartmut Holzgraefe
ab928b03d6 proto fix 2002-03-23 01:43:38 +00:00
Markus Fischer
1d75089d8b *** empty log message *** 2002-03-21 22:35:02 +00:00
Hartmut Holzgraefe
c19dfe84c7 proto fixes 2002-03-18 18:00:24 +00:00
Wez Furlong
0f65280cb5 New PHP streams... 2002-03-15 21:03:08 +00:00
Sascha Schumann
5cba3a99c2 extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed 2002-03-12 16:44:00 +00:00
Sterling Hughes
094873c6d2 hopefully fix --with-openssl issues 2002-01-27 06:11:50 +00:00
Sterling Hughes
1a36eb5574 just init CURL_GLOBAL_SSL 2002-01-22 17:06:16 +00:00
Sterling Hughes
85fa03aab3 Avoid a segfault when 0 bytes are returned from a website, and RETURNTRANSFER is enabled. 2001-12-24 13:58:03 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Sterling Hughes
737b6f8b13 Spaces -> Tabs 2001-12-10 13:22:48 +00:00
Sterling Hughes
80f4a863f9 Add a content length field to perhaps eliminate null truncation 2001-12-03 12:24:03 +00:00
Sterling Hughes
fa58a95035 Re-add support for HTTP file uploads 2001-12-03 09:19:14 +00:00
foobar
f1397d5339 Unified the configure messages. 2001-11-30 19:00:13 +00:00
Sterling Hughes
e7aa85c011 Fix a crash bug in CURLOPT_POSTFIELDS by using curl_formadd instead of
curl_formparse

Fix a crash bug when CURLOPT_INFILE is not properly specified.
2001-11-20 11:29:54 +00:00
Zeev Suraski
8b40f3c231 Improve OpenSSL compatibility 2001-11-13 11:47:52 +00:00
Sterling Hughes
5fc1552c04 "Fix" last commit, to compile cURL with SSL support you must also use the
OpenSSL extension -- sorry...

The last commit caused bad things to happen if you were compiling cURL and
PHP on Win32 or if you compiled PHP --with-openssl, ie, re-initializing things
that were already initialized
2001-11-13 10:59:15 +00:00
Zeev Suraski
6d7be11454 Import patch from bug #14023 2001-11-13 01:01:47 +00:00
Frank M. Kromann
583b24b682 Reverting the last fix for ZTS and adding TSRMLS_FETCH() to make it work. 2001-10-18 19:24:51 +00:00
Frank M. Kromann
d682cf90cf Adding include path for having curl header and libraries in php_build\curl 2001-10-18 17:47:35 +00:00
Frank M. Kromann
d3dfc03108 Fixing ZTS build on win32 2001-10-18 17:46:57 +00:00
Stig Bakken
689252082c * zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Jeroen van Wolffelaar
39e47f5a98 Revert macro-subst, because wasn't necessary here, and those who were
substitued weren't zvals
2001-09-26 22:24:44 +00:00
Jeroen van Wolffelaar
21f2b9277f 3rd run in back-substitutin Z_* macro's. The val->Z_ cases are all solved now. 2001-09-26 08:35:48 +00:00
Jeroen van Wolffelaar
c033288573 Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know. 2001-09-25 21:58:48 +00:00
Sterling Hughes
bb2d4e3126 add a 7.9 version check 2001-09-25 07:07:22 +00:00