Commit Graph

129 Commits

Author SHA1 Message Date
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
Sterling Hughes
2e79759f50 fix constant 2001-09-24 18:45:08 +00:00
Sterling Hughes
958675c067 fix compile 2001-09-22 16:56:21 +00:00
Sterling Hughes
f8e78a00f2 update to curl 7.9 (when it comes out :)
make REGISTER_CURL_CONSTANT() only take one argument
couple of speed-up's
few style fixes
2001-09-22 00:38:59 +00:00
Sascha Schumann
d5e22e2a29 Use proper macro to return string with unknown length 2001-09-10 11:06:15 +00:00
Sterling Hughes
2e890a36d4 Revert, this is max error size, not strlen(error) 2001-09-10 00:25:59 +00:00
Sterling Hughes
5830ffeb48 RETURN_STRING -> RETURN_STRINGL 2001-09-10 00:24:29 +00:00
Derick Rethans
78747bd2df - Don't wrap lines... this is annoying while coding. 2001-09-09 13:29:31 +00:00
André Langhorst
d4b86e1c5b fix curl build for curl >= 7.8 2001-09-08 16:51:00 +00:00
Sterling Hughes
1c3b3ad8f3 tense, tense, tense 2001-09-08 00:42:25 +00:00
foobar
032b263129 Fixes commit / link problems with certain compilers.
# Please use PHP_CHECK_LIBRARY() always instead of AC_CHECK_LIB
# if you need to pass extra libs/libpaths to the test.
2001-09-05 13:18:09 +00:00
Sterling Hughes
dd094d1866 noet 2001-08-24 01:12:37 +00:00
Rasmus Lerdorf
4d11d90880 Track down a few more functions that don't check for 0 args and use
faster mechanism
2001-08-13 07:55:39 +00:00
Rasmus Lerdorf
8c497f05c4 We don't consistently check for args passed to functions that don't
take any args.  In some cases we probably want to skip the check for
performance reasons, but in other cases where performance is unlikely
to be a factor, not throwing a warning on the wrong number of args passed
to a function is at best inconsistent, and at worst it could hide a bug.
So, add a few such checks.  There are still lots of cases out there.
2001-08-13 06:43:47 +00:00
foobar
f9c76ee19f Fixed bug: #12597. 2001-08-06 15:40:47 +00:00
Sterling Hughes
70a0951eb9 Larger transfer buffer before realloc() this should speed things up a bit 2001-08-02 19:28:33 +00:00
Sterling Hughes
b71efb2f9c ws fix 2001-08-02 19:25:46 +00:00
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