Dan Fandrich [Wed, 30 Jul 2008 23:49:20 +0000 (23:49 +0000)]
Added IPv6 section
Daniel Stenberg [Wed, 30 Jul 2008 22:09:30 +0000 (22:09 +0000)]
Committed just now and thus removed from here:
145 - Phil Blundell's CURLOPT_SCOPE patch/work
Daniel Stenberg [Wed, 30 Jul 2008 21:57:27 +0000 (21:57 +0000)]
another option added, bump counter
Daniel Stenberg [Wed, 30 Jul 2008 21:55:26 +0000 (21:55 +0000)]
- Phil Blundell added the CURLOPT_SCOPE option, as well as adjusted the URL
parser to allow numerical IPv6-addresses to be specified with the scope
given, as per RFC4007 - with a percent letter that itself needs to be URL
escaped. For example, for an address of fe80::1234%1 the HTTP URL is:
"http://[fe80::1234%251]/"
Daniel Stenberg [Wed, 30 Jul 2008 21:42:26 +0000 (21:42 +0000)]
Fixed:
147 - PHP's bug report #43158 (http://bugs.php.net/bug.php?id=43158) identifies
a true bug in libcurl built with OpenSSL.
Daniel Stenberg [Wed, 30 Jul 2008 21:24:59 +0000 (21:24 +0000)]
- PHP's bug report #43158 (bugs.php.net/bug.php?id=43158) identifies a
true bug in libcurl built with OpenSSL. It made curl_easy_getinfo() more or
less always return 0 for CURLINFO_SSL_VERIFYRESULT because the function that
would set it to something non-zero would return before the assign in almost
all error cases. The internal variable is now set to non-zero from the start
of the function only to get cleared later on if things work out fine.
Daniel Stenberg [Wed, 30 Jul 2008 21:24:19 +0000 (21:24 +0000)]
- Made the curl tool's -w option support the %{ssl_verify_result} variable
Dan Fandrich [Wed, 30 Jul 2008 21:04:44 +0000 (21:04 +0000)]
Added test cases 1052 through 1055 to test uploading data from files
during redirects. Test cases 1052 and 1055 show problems (maybe the same
root cause as 1051) and are disabled.
Dan Fandrich [Wed, 30 Jul 2008 20:11:51 +0000 (20:11 +0000)]
Factored out Curl_copy_header_value
Yang Tse [Wed, 30 Jul 2008 12:09:35 +0000 (12:09 +0000)]
Add file version serial number that might be used by 'aclocal' and others.
Keep the '#' character as the first one on the line.
Yang Tse [Wed, 30 Jul 2008 08:27:02 +0000 (08:27 +0000)]
Update copyright year.
Yang Tse [Wed, 30 Jul 2008 08:21:25 +0000 (08:21 +0000)]
Sync comment with reality.
Dan Fandrich [Wed, 30 Jul 2008 07:31:10 +0000 (07:31 +0000)]
Added the problems with test cases 1041 and 1051
Dan Fandrich [Wed, 30 Jul 2008 07:24:59 +0000 (07:24 +0000)]
Added test case 1051 to test Location: following with PUT, as reported
by Ben Sutcliffe. The test when run manually shows a problem in curl,
but the test harness web server doesn't run the test correctly so it's
disabled for now.
Yang Tse [Wed, 30 Jul 2008 06:20:43 +0000 (06:20 +0000)]
Undo using the sreadfrom() wrapper to replace recvfrom() in our code, for real ;-)
Yang Tse [Wed, 30 Jul 2008 05:15:51 +0000 (05:15 +0000)]
#149 done. Awaiting autobuild verification before removing.
Yang Tse [Wed, 30 Jul 2008 05:10:42 +0000 (05:10 +0000)]
Undo using the sreadfrom() wrapper to replace recvfrom() in our code.
Yang Tse [Wed, 30 Jul 2008 04:46:24 +0000 (04:46 +0000)]
#148 no longer blocks #144
Yang Tse [Wed, 30 Jul 2008 04:42:16 +0000 (04:42 +0000)]
Reinstate hiding aclocal 'underquoted definition' warnings.
Yang Tse [Wed, 30 Jul 2008 03:24:38 +0000 (03:24 +0000)]
updated #148
Yang Tse [Wed, 30 Jul 2008 03:10:03 +0000 (03:10 +0000)]
Reinstate the 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4' way of
including our local m4/reentrant.m4 file. This even takes care of including the
file in the distribution tarball.
Yang Tse [Wed, 30 Jul 2008 01:17:15 +0000 (01:17 +0000)]
Show autom4te and aclocal versions.
Set SED for Solaris to gsed if available.
Dan Fandrich [Wed, 30 Jul 2008 00:10:32 +0000 (00:10 +0000)]
Minor Symbian updates.
Dan Fandrich [Wed, 30 Jul 2008 00:09:02 +0000 (00:09 +0000)]
Fixed --use-ascii to properly convert text files on Symbian OS, MS-DOS
and OS/2.
Yang Tse [Tue, 29 Jul 2008 23:56:01 +0000 (23:56 +0000)]
Updtae #148 with link to start of thread
Yang Tse [Tue, 29 Jul 2008 23:51:01 +0000 (23:51 +0000)]
Updated #144
Added #148 and # 149
Daniel Stenberg [Tue, 29 Jul 2008 21:51:47 +0000 (21:51 +0000)]
56. When libcurl sends CURLOPT_POSTQUOTE commands when connected to a SFTP
server using the multi interface, the commands are not being sent correctly
and instead the connection is "cancelled" (the operation is considered done)
prematurely. There is a half-baked (busy-looping) patch provided in the bug
report but it cannot be accepted as-is. See
http://curl.haxx.se/bug/view.cgi?id=2006544
Daniel Stenberg [Tue, 29 Jul 2008 21:39:05 +0000 (21:39 +0000)]
Added:
146 - Yehoshua Hershberg's re-using of connections that failed with
CURLE_PEER_FAILED_VERIFICATION
147 - PHP's bug report #43158 (http://bugs.php.net/bug.php?id=43158) identifies
a true bug in libcurl built with OpenSSL.
Dan Fandrich [Tue, 29 Jul 2008 20:59:51 +0000 (20:59 +0000)]
Document that PKG_CONFIG_PATH is the preferred way to configure with
OpenSSL.
Yang Tse [Tue, 29 Jul 2008 19:31:34 +0000 (19:31 +0000)]
For testing purposes on SunOS systems; directly feed acinclude.m4 with
reentrant.m4 and remove reentrant.m4 before calling aclocal.
Yang Tse [Tue, 29 Jul 2008 19:01:34 +0000 (19:01 +0000)]
For debugging purposes, show all sed's available in PATH on SunOS systems.
Dan Fandrich [Tue, 29 Jul 2008 18:57:01 +0000 (18:57 +0000)]
Return an error code when extra files are found in filecheck:
Dan Fandrich [Tue, 29 Jul 2008 18:26:35 +0000 (18:26 +0000)]
Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4
address in an IPv6 capable libcurl.
Yang Tse [Tue, 29 Jul 2008 18:23:11 +0000 (18:23 +0000)]
Add quoting for the AC_DEFINE arguments.
Yang Tse [Tue, 29 Jul 2008 18:01:29 +0000 (18:01 +0000)]
Also remove the whitespace.
Yang Tse [Tue, 29 Jul 2008 17:45:33 +0000 (17:45 +0000)]
Also remove the extra quoting.
Yang Tse [Tue, 29 Jul 2008 16:29:34 +0000 (16:29 +0000)]
Replace some '@%:@' quadigraphs by its actual representation '#'.
This quadigraph used before a C preprocessor 'define' directive could
be fooling M4, when processing this file, and make it think that the
line contains a pure M4 'define' macro.
Yang Tse [Tue, 29 Jul 2008 02:26:21 +0000 (02:26 +0000)]
Tests done using 'aclocal -I m4' in buildconf and 'ACLOCAL_AMFLAGS = -I m4
in top Makefile.am triggered a problem that prevented aclocal from running
successfully on SunOS 5.10 with GNU m4 1.4.5 and GNU Autoconf 2.61
A tarball which reproduces mentioned problem is the one dated July-28-2008
http://cool.haxx.se/curl-daily/curl-7.19.0-
20080728.tar.gz
We actually don't need all the bells and whistles that the above mechanism
provides. We only need to include our m4/reentrant.m4 file in acinclude.m4
so here we go with this simpler mechanism.
Yang Tse [Tue, 29 Jul 2008 02:05:07 +0000 (02:05 +0000)]
ignore *.dist files
Dan Fandrich [Tue, 29 Jul 2008 01:05:28 +0000 (01:05 +0000)]
Added test case 1050 to test --ftp-port with an IPv6 address.
Made --interface tests less restrictive on host address.
Daniel Stenberg [Mon, 28 Jul 2008 21:53:25 +0000 (21:53 +0000)]
I removed: "139 - Christopher Palow's CURLM_EASY_HANDLE_EXISTS patch" simply
because at the current point in time I think the benefit of adding that new
return code is very slim and it is a lot of work to introduce new return codes
(for docs and maintenance etc)
I added "145 - Phil Blundell's CURLOPT_SCOPE patch/work" since I want it
sorted/committed.
Dan Fandrich [Mon, 28 Jul 2008 18:39:32 +0000 (18:39 +0000)]
Added test cases 1045 through 1049 as simple tests of --interface using the
localhost interface.
Dan Fandrich [Mon, 28 Jul 2008 18:35:34 +0000 (18:35 +0000)]
Fixed display of the interface bind address in the trace output when it's
an IPv6 address.
Yang Tse [Mon, 28 Jul 2008 16:17:51 +0000 (16:17 +0000)]
Ensure that buildconf runs from the subdirectory where configure.ac lives
Yang Tse [Mon, 28 Jul 2008 15:15:13 +0000 (15:15 +0000)]
Remove files generated on previous buildconf/configure run,
and for debugging purposes show ACLOCAL_FLAGS.
Yang Tse [Mon, 28 Jul 2008 15:13:31 +0000 (15:13 +0000)]
for debugging purposes show ACLOCAL_FLAGS
Yang Tse [Mon, 28 Jul 2008 12:36:51 +0000 (12:36 +0000)]
ignore another file that might be generated
Yang Tse [Sun, 27 Jul 2008 23:43:53 +0000 (23:43 +0000)]
These lines were unintentionally removed in previous commit
Yang Tse [Sun, 27 Jul 2008 22:25:07 +0000 (22:25 +0000)]
Partially undo change that prevented SED, GREP, EGREP and AR from being changed by libtool or autoconf.
Yang Tse [Sun, 27 Jul 2008 21:47:22 +0000 (21:47 +0000)]
Assert that SED and GREP are set
Yang Tse [Sun, 27 Jul 2008 20:29:04 +0000 (20:29 +0000)]
Require autoconf 2.57 or newer
Yang Tse [Sun, 27 Jul 2008 18:10:54 +0000 (18:10 +0000)]
When calling aclocal, user defined ACLOCAL_FLAGS will now precede ours.
Yang Tse [Sun, 27 Jul 2008 17:24:37 +0000 (17:24 +0000)]
For debugging purposes, run aclocal in verbose mode on SunOS systems.
Yang Tse [Sun, 27 Jul 2008 16:37:02 +0000 (16:37 +0000)]
move ACLOCAL_AMFLAGS after AUTOMAKE_OPTIONS
Yang Tse [Sun, 27 Jul 2008 03:16:37 +0000 (03:16 +0000)]
setup.h handles definition of _REENTRANT based on NEED_REENTRANT
definition which might be defined in config.h or config-*.h files
Yang Tse [Sun, 27 Jul 2008 02:41:13 +0000 (02:41 +0000)]
Remove explicit inclusion of our m4 files first. It was interesting as a test,
but it breaks aclocal execution on some systems, with the following error:
Can't locate object method "rel2abs" via package "File::Spec" at /usr/local/bin/aclocal line 256.
Dan Fandrich [Sun, 27 Jul 2008 02:34:27 +0000 (02:34 +0000)]
Added feature in runtests.pl to select tests based on key word.
Dan Fandrich [Sun, 27 Jul 2008 02:20:34 +0000 (02:20 +0000)]
Eliminate a unnecessary socket creation in Curl_getaddrinfo for an IPv4
address in an IPv6 capable libcurl.
Yang Tse [Sun, 27 Jul 2008 01:36:33 +0000 (01:36 +0000)]
Another step towards detecting if _REENTRANT is already defined or actually
needed, and being able to define it if appropriate for further configure tests
as well as for the generated config file.
Daniel Stenberg [Sat, 26 Jul 2008 21:15:47 +0000 (21:15 +0000)]
- David Bau filed bug report #2026240 "CURL_READFUNC_PAUSE leads to buffer
overrun" (http://curl.haxx.se/bug/view.cgi?id=2026240) identifying two
problems, and providing the fix for them:
- CURL_READFUNC_PAUSE did in fact not pause the _sending_ of data that it is
designed for but paused _receiving_ of data!
- libcurl didn't internally set the read counter to zero when this return
code was detected, which would potentially lead to junk getting sent to
the server.
Dan Fandrich [Sat, 26 Jul 2008 20:09:36 +0000 (20:09 +0000)]
Added test 1044 to test large file support in ftp with -I.
Yang Tse [Sat, 26 Jul 2008 14:45:16 +0000 (14:45 +0000)]
Explicitly include our m4 files first. This might minimize the impact
that other package's underquoted m4 function definitions have on ours.
Yang Tse [Sat, 26 Jul 2008 12:11:22 +0000 (12:11 +0000)]
simplify multi '#' char comment line
Yang Tse [Sat, 26 Jul 2008 01:24:50 +0000 (01:24 +0000)]
Add a 3 argument check for getprotobyname_r
Yang Tse [Sat, 26 Jul 2008 01:00:41 +0000 (01:00 +0000)]
additional debug logging of getprotobyname_r on Tru64 and AIX
Yang Tse [Sat, 26 Jul 2008 00:19:03 +0000 (00:19 +0000)]
No longer hide aclocal 'underquoted definition' warnings.
http://sources.redhat.com/automake/automake.html#Extending-aclocal documents
that starting with Automake 1.8, aclocal will warn about all underquoted calls
to AC_DEFUN due to the fact that in a single aclocal run it might include more
than once all .m4 files which it finds available, this includes .m4 files from
other software packages.
If the first argument to AC_DEFUN is underquoted and the same macro is included
more than once, successive inclusions after the first one will expand the macro
instead of assuming it is the same as the first one included.
Yang Tse [Fri, 25 Jul 2008 13:21:14 +0000 (13:21 +0000)]
move reentrant.m4 to the m4 subdirectory to avoid infinite loop inclusion problem
Yang Tse [Thu, 24 Jul 2008 18:02:44 +0000 (18:02 +0000)]
add checks for strtok_r and getprotobyname_r
Yang Tse [Thu, 24 Jul 2008 15:20:35 +0000 (15:20 +0000)]
Another step towards detecting if _REENTRANT is already defined or actually
needed, and being able to define it if appropriate for further configure tests
as well as for the generated config file.
Introduced reentrant.m4 intended for our reentrant related autotools/m4 macros.
Yang Tse [Thu, 24 Jul 2008 15:11:24 +0000 (15:11 +0000)]
ignore curllib.vcproj
Dan Fandrich [Thu, 24 Jul 2008 02:16:48 +0000 (02:16 +0000)]
Changed the long logfile elision code in runtests.pl to properly handle
lines ending in \r.
Dan Fandrich [Wed, 23 Jul 2008 23:03:52 +0000 (23:03 +0000)]
Mention that the test harness can't check every possible feature.
Dan Fandrich [Wed, 23 Jul 2008 22:02:03 +0000 (22:02 +0000)]
Eliminated references to TRUE and FALSE since those identifiers aren't
defined by the libcurl API. Also changed curl_easy_setopt examples to
pass longs where appropriate.
Daniel Stenberg [Wed, 23 Jul 2008 20:53:04 +0000 (20:53 +0000)]
- I went over the curl_easy_setopt man page and replaced most references to
non-zero with the fixed value of 1. We should strive at making options
support '1' for enabling them mentioned explicitly, as that then will allow
us for to extend them in the future without breaking older programs.
Dan Fandrich [Wed, 23 Jul 2008 18:17:25 +0000 (18:17 +0000)]
Simplified Minix compile instructions and added some special cases.
Yang Tse [Wed, 23 Jul 2008 04:20:39 +0000 (04:20 +0000)]
reorder argument number detection for getservbyport_r to
actually verify if the test is properly working
Yang Tse [Tue, 22 Jul 2008 19:13:35 +0000 (19:13 +0000)]
cleanup duplicate line
Yang Tse [Tue, 22 Jul 2008 19:04:16 +0000 (19:04 +0000)]
Make sure that configure process tests are done with the same _REENTRANT
setting as the one actually used when finally building the library.
Yang Tse [Tue, 22 Jul 2008 18:56:46 +0000 (18:56 +0000)]
checks for gethostbyaddr_r with 7 and 8 args now also done with -D_REENTRANT
checks for gethostbyname_r with 5 and 6 args now also done with -D_REENTRANT
Yang Tse [Tue, 22 Jul 2008 00:12:06 +0000 (00:12 +0000)]
minor reordering in OS/400 config/setup files
Yang Tse [Mon, 21 Jul 2008 18:24:32 +0000 (18:24 +0000)]
Change recvfrom's sixth argument data type to the 'historically standard' 'int'
data type for systems where this sixth argument is prototyped as a void pointer.
Start of thread: http://curl.haxx.se/mail/lib-2008-07/0153.html
Gisle Vanem [Mon, 21 Jul 2008 15:39:54 +0000 (15:39 +0000)]
Undefine 'byte' due to dict.c.
Yang Tse [Mon, 21 Jul 2008 14:01:46 +0000 (14:01 +0000)]
use prototypes to improve getservbyport_r detection
Yang Tse [Mon, 21 Jul 2008 09:23:56 +0000 (09:23 +0000)]
fix compiler warning: implicit conversion from "long" to "int"
Yang Tse [Mon, 21 Jul 2008 03:59:23 +0000 (03:59 +0000)]
fix compiler warning: comparison between signed and unsigned
Yang Tse [Mon, 21 Jul 2008 03:50:02 +0000 (03:50 +0000)]
Adjust recvfrom's sixth arg data type definition for NetWare (LIBC)
Yang Tse [Mon, 21 Jul 2008 03:06:07 +0000 (03:06 +0000)]
Use the sreadfrom() wrapper to replace recvfrom() in our code.
Yang Tse [Mon, 21 Jul 2008 00:36:55 +0000 (00:36 +0000)]
when recvfrom prototype uses a void pointer for arguments 2, 5 or 6 this will
now cause the definition of RECVFROM_TYPE_ARG2_IS_VOID, RECVFROM_TYPE_ARG5_IS_VOID
or RECVFROM_TYPE_ARG6_IS_VOID, as appropriate.
Yang Tse [Sun, 20 Jul 2008 17:18:29 +0000 (17:18 +0000)]
Adjust DEC/Compaq C compiler settings
Yang Tse [Sun, 20 Jul 2008 09:51:52 +0000 (09:51 +0000)]
Remove showing additional info needed to debug configure
failure to properly detect recvfrom arg types on Solaris
Yang Tse [Sun, 20 Jul 2008 09:46:52 +0000 (09:46 +0000)]
Added "pointer to void" as another data type to check for the sixth argument of
function recvfrom as a result of the info additionally logged when running on a
Solaris system.
The compiler error showed that the prototype being used on Solaris was the one
declared in line 427 of "/usr/include/sys/socket.h" as:
function(int,
pointer to void,
unsigned int,
int,
pointer to struct sockaddr,
pointer to void) returning int
Yang Tse [Sat, 19 Jul 2008 18:32:27 +0000 (18:32 +0000)]
Temporarily show additional info needed to debug configure
failure to properly detect recvfrom arg types on Solaris
Yang Tse [Sat, 19 Jul 2008 11:27:45 +0000 (11:27 +0000)]
Adjust DEC/Compaq C compiler settings
Patrick Monnerat [Fri, 18 Jul 2008 14:46:52 +0000 (14:46 +0000)]
README.OS400 update for new string options.
Patrick Monnerat [Fri, 18 Jul 2008 14:43:17 +0000 (14:43 +0000)]
README.OS400 update for new string options.
Dan Fandrich [Thu, 17 Jul 2008 22:39:23 +0000 (22:39 +0000)]
Fixed the XML syntax of a few test files.
Yang Tse [Thu, 17 Jul 2008 03:07:54 +0000 (03:07 +0000)]
RECVFROM_TYPE_ARG2, RECVFROM_TYPE_ARG5 and RECVFROM_TYPE_ARG6 are now defined
to the data type pointed by its respective argument and not the pointer type.
Yang Tse [Wed, 16 Jul 2008 19:24:03 +0000 (19:24 +0000)]
fix comment
Yang Tse [Wed, 16 Jul 2008 19:16:41 +0000 (19:16 +0000)]
Configure process now checks availability of recvfrom() socket function and
finds out its return type and the types of its arguments. Added definitions
for non-configure systems config files, and introduced macro sreadfrom which
will be used on udp sockets as a recvfrom() wrapper.
Yang Tse [Wed, 16 Jul 2008 14:17:56 +0000 (14:17 +0000)]
Initial DEC/Compaq C compiler detection and flags