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
Yang Tse [Wed, 16 Jul 2008 12:26:09 +0000 (12:26 +0000)]
Improved configure detection of number of arguments for getservbyport_r
Yang Tse [Tue, 15 Jul 2008 16:43:39 +0000 (16:43 +0000)]
Allow --enable-largefile and --disable-largefile configurations.
Configure process no longer needs nor checks size of curl_off_t.
Library will now be built with _REENTRANT symbol defined.
Yang Tse [Tue, 15 Jul 2008 13:54:30 +0000 (13:54 +0000)]
add comment for include paths
Yang Tse [Tue, 15 Jul 2008 05:46:49 +0000 (05:46 +0000)]
add comment for include paths
Dan Fandrich [Tue, 15 Jul 2008 04:12:15 +0000 (04:12 +0000)]
Added test1042 and test1043 to test -C - on HTTP.
Dan Fandrich [Tue, 15 Jul 2008 03:36:38 +0000 (03:36 +0000)]
Added test1040 and test1041 to test -C - on HTTP. Test 1041 failed so it's
added to DISABLED.
Yang Tse [Mon, 14 Jul 2008 17:31:39 +0000 (17:31 +0000)]
Move _REENTRANT definition earlier in lib/setup.h
Yang Tse [Mon, 14 Jul 2008 16:58:34 +0000 (16:58 +0000)]
Removed inclusion of remaining system header files from configuration files.
These are included from lib/setup.h or specific source code file.
Yang Tse [Mon, 14 Jul 2008 16:10:29 +0000 (16:10 +0000)]
Inclusion of <extra/stricmp.h> and <extra/strdup.h> is moved to lib/setup.h
Yang Tse [Mon, 14 Jul 2008 15:58:02 +0000 (15:58 +0000)]
Remove duplicate file inclusions. These are already done in lib/setup.h
and lib/setup_once.h
Yang Tse [Mon, 14 Jul 2008 15:30:26 +0000 (15:30 +0000)]
Remove duplicate file inclusions. These are already done in lib/setup.h
Yang Tse [Mon, 14 Jul 2008 12:39:50 +0000 (12:39 +0000)]
HTTP_ONLY definition check in lib/setup.h is now done once that configuration
file has been included. In this way if symbol is defined in the config file
it will no longer be ignored.
Yang Tse [Fri, 11 Jul 2008 18:59:00 +0000 (18:59 +0000)]
fix multiple header inclusion prevention definition
Yang Tse [Fri, 11 Jul 2008 18:52:35 +0000 (18:52 +0000)]
move multiple header inclusion prevention definition to top of file
Yang Tse [Fri, 11 Jul 2008 18:42:30 +0000 (18:42 +0000)]
Added missing multiple header inclusion prevention definition
Dan Fandrich [Fri, 11 Jul 2008 18:23:06 +0000 (18:23 +0000)]
Fixed test 553 to pass the torture test.
Dan Fandrich [Fri, 11 Jul 2008 17:18:37 +0000 (17:18 +0000)]
Avoid a potential zombie process when killing an old ftpserver
Daniel Stenberg [Fri, 11 Jul 2008 10:50:30 +0000 (10:50 +0000)]
document the exit codes 82 and 83 that are new in 7.19.0
Daniel Stenberg [Fri, 11 Jul 2008 09:18:30 +0000 (09:18 +0000)]
indent and comment cleanup (no code change)
Daniel Stenberg [Fri, 11 Jul 2008 09:08:27 +0000 (09:08 +0000)]
- Daniel Fandrich found out we didn't pass on the user-agent properly when
doing "proxy-tunnels" with non-HTTP prototols and that was simply because
the code assumed the user-agent was only needed for HTTP.
Dan Fandrich [Fri, 11 Jul 2008 05:08:06 +0000 (05:08 +0000)]
Added test cases 1038 and 1039 to test Adrian Kreher's report that ftp
uploads with -C - didn't resume properly, but the tests pass.
Dan Fandrich [Fri, 11 Jul 2008 04:38:11 +0000 (04:38 +0000)]
Changed slightly the SFTP quote commands chmod, chown and chgrp to only
set the attribute that has changed instead of all possible ones. Hopefully,
this will solve the "Permission denied" problem that Nagarajan Sreenivasan
reported when setting some modes, but regardless, it saves a protocol
round trip in the chmod case.
Daniel Stenberg [Thu, 10 Jul 2008 22:24:11 +0000 (22:24 +0000)]
(Added in the section for CURLOPT_DNS_CACHE_TIMEOUT, pointed out on the
curl-library list on July 9th 2008 by Mathew Hounsell)
NOTE: the name resolve functions of various libc implementations don't re-read
name server information unless explicitly told so (by for example calling
Ires_init(3). This may cause libcurl to keep using the older server even
if DHCP has updated the server info, and this may look like a DNS cache issue
to the casual libcurl-app user.
Daniel Stenberg [Thu, 10 Jul 2008 20:29:27 +0000 (20:29 +0000)]
--remote-name-all
Dan Fandrich [Thu, 10 Jul 2008 18:15:22 +0000 (18:15 +0000)]
Fixed another OOM problem, this time with test 64.
Yang Tse [Thu, 10 Jul 2008 18:01:44 +0000 (18:01 +0000)]
Peter Lamberg filed bug report #2015126: "poll gives WSAEINVAL when POLLPRI
is set in fdset.events" (http://curl.haxx.se/bug/view.cgi?id=2015126) which
exactly pinpointed the problem only triggered on Windows Vista, provided
reference to docs and also a fix. There is much work behind Peter Lamberg's
excellent bug report. Thank You!
Daniel Stenberg [Thu, 10 Jul 2008 13:40:59 +0000 (13:40 +0000)]
updated to match current reality
Yang Tse [Thu, 10 Jul 2008 08:21:48 +0000 (08:21 +0000)]
fix compiler warning
Daniel Stenberg [Thu, 10 Jul 2008 08:00:05 +0000 (08:00 +0000)]
s/muse/must
Daniel Stenberg [Thu, 10 Jul 2008 07:53:10 +0000 (07:53 +0000)]
document --remote-name-all
Yang Tse [Thu, 10 Jul 2008 07:16:45 +0000 (07:16 +0000)]
fallback to gettimeofday when monotonic clock is unavailable at run-time
Dan Fandrich [Thu, 10 Jul 2008 06:09:03 +0000 (06:09 +0000)]
Added tests 1036 and 1037 to verify resumed ftp downloads with -C -
Daniel Stenberg [Wed, 9 Jul 2008 18:39:49 +0000 (18:39 +0000)]
- Andreas Schuldei improved Phil Blundell's patch for IPv6 using c-ares, and I
edited it slightly. Now you should be able to use IPv6 addresses fine even
with libcurl built to use c-ares.
Dan Fandrich [Wed, 9 Jul 2008 18:33:35 +0000 (18:33 +0000)]
Fixed an OOM handling problem that cause test 11 to fail the torture test.
Yang Tse [Wed, 9 Jul 2008 16:38:55 +0000 (16:38 +0000)]
since Jun 30 2008 MAXHOSTNAMELEN define is no longer used
Dan Fandrich [Tue, 8 Jul 2008 21:16:18 +0000 (21:16 +0000)]
Fixed test 554 to pass the torture test.
Gisle Vanem [Tue, 8 Jul 2008 13:55:20 +0000 (13:55 +0000)]
Added libidn libs as needed. Added compilation of sendrecv.c
and cookie_interface.c.
Dan Fandrich [Mon, 7 Jul 2008 23:52:52 +0000 (23:52 +0000)]
Added test cases 1034 & 1035 to test IDN name conversion failures.
Daniel Stenberg [Mon, 7 Jul 2008 20:37:07 +0000 (20:37 +0000)]
- Scott Barrett provided a test case for a segfault in the FTP code and the
fix for it. It occured when you did a FTP transfer using
CURLFTPMETHOD_SINGLECWD and then did another one on the same easy handle but
switched to CURLFTPMETHOD_NOCWD. Due to the "dir depth" variable not being
cleared properly. Scott's test case is now known as test 539 and it
verifies the fix.
Patrick Monnerat [Mon, 7 Jul 2008 10:39:46 +0000 (10:39 +0000)]
New options added to OS400 wrapper and ILERPG definitions.
Wrong defines (typos) for QSSL layer fixed.
Yang Tse [Mon, 7 Jul 2008 02:11:21 +0000 (02:11 +0000)]
fix c-ares version reported in generated libcares.pc file when building
from CVS tree.
Yang Tse [Sat, 5 Jul 2008 03:31:41 +0000 (03:31 +0000)]
fix compiler warning: empty body in an if-statement
Yang Tse [Sat, 5 Jul 2008 03:12:47 +0000 (03:12 +0000)]
mention that egrep and ar are also mandatory
Yang Tse [Fri, 4 Jul 2008 04:03:55 +0000 (04:03 +0000)]
egrep and ar are also mandatory
Daniel Stenberg [Thu, 3 Jul 2008 11:41:11 +0000 (11:41 +0000)]
just to clarify that c-ares actually have some ipv6 support
Daniel Stenberg [Thu, 3 Jul 2008 11:34:34 +0000 (11:34 +0000)]
ares_gethostbyname() fallback from AAA to A records with CNAME present
Daniel Stenberg [Thu, 3 Jul 2008 11:32:35 +0000 (11:32 +0000)]
- Phil Blundell: If you ask ares_gethostbyname() to do an AF_INET6 lookup and
the target host has only A records, it automatically falls back to an
AF_INET lookup and gives you the A results. However, if the target host has
a CNAME record, this behaviour is defeated since the original query does
return some data even though ares_parse_aaa_reply() doesn't consider it
relevant. Here's a small patch to make it behave the same with and without
the CNAME.
Daniel Stenberg [Thu, 3 Jul 2008 08:47:53 +0000 (08:47 +0000)]
Phil Blundell provided a fix for libcurl's treatment of unexpected 1xx
response codes. Previously libcurl would hang on such occurances. I added
test case 1033 to verify.
Daniel Stenberg [Thu, 3 Jul 2008 06:56:03 +0000 (06:56 +0000)]
Introcuding a new timestamp for curl_easy_getinfo():
CURLINFO_APPCONNECT_TIME. This is set with the "application layer"
handshake/connection is completed (typically SSL, TLS or SSH). By using this
you can figure out the application layer's own connect time. You can extract
the time stamp using curl's -w option and the new variable named
'time_appconnect'. This feature was sponsored by Lenny Rachitsky at NeuStar.
Dan Fandrich [Wed, 2 Jul 2008 18:34:00 +0000 (18:34 +0000)]
Support Open Watcom C on Linux (as well as Windows).
Yang Tse [Wed, 2 Jul 2008 17:42:08 +0000 (17:42 +0000)]
The configure process will now halt when sed or grep are unavailable
Yang Tse [Wed, 2 Jul 2008 03:04:56 +0000 (03:04 +0000)]
fallback to gettimeofday when monotonic clock is unavailable at run-time
Daniel Stenberg [Tue, 1 Jul 2008 21:53:47 +0000 (21:53 +0000)]
- Rolland Dudemaine provided fixes to get libcurl to build for the INTEGRITY
operating system.
Daniel Stenberg [Tue, 1 Jul 2008 21:53:18 +0000 (21:53 +0000)]
CreateConnection collided with a function using the exact same name in the
INTEGRITY RTOS, so I renamed it to create_conn. It then made sense to also
rename SetupConnection to setup_conn to match it.
Yang Tse [Tue, 1 Jul 2008 10:29:25 +0000 (10:29 +0000)]
IBM C/C++ compiler predefined macro check
Yang Tse [Tue, 1 Jul 2008 00:30:44 +0000 (00:30 +0000)]
set earlier in configure process IBM compilers optimization flags
Yang Tse [Mon, 30 Jun 2008 14:10:27 +0000 (14:10 +0000)]
make check message wording more precise
Daniel Stenberg [Mon, 30 Jun 2008 13:07:05 +0000 (13:07 +0000)]
- Stephen Collyer and Tor Arntsen helped identify a flaw in the range code
which output the range using a signed variable where it should rather use
unsigned.
Daniel Stenberg [Mon, 30 Jun 2008 12:58:15 +0000 (12:58 +0000)]
made %llu work for printing unsigned long longs, added the generic curl source
header
Daniel Stenberg [Mon, 30 Jun 2008 12:48:25 +0000 (12:48 +0000)]
- As was pointed out to me by Andreas Schuldei, the MAXHOSTNAMELEN define is
not posix or anything and thus c-ares failed to build on hurd (and possibly
elsewhere). The define was also somewhat artificially used in the windows
port. Now, I instead rewrote the use of gethostbyname to enlarge the host
name buffer in case of need and totally avoid the use of the MAXHOSTNAMELEN
define. I thus also removed the defien from the namser.h file where it was
once added for the windows build.
I also fixed init_by_defaults() function to not leak memory in case if
error.
Daniel Stenberg [Mon, 30 Jun 2008 09:39:26 +0000 (09:39 +0000)]
minor language fix
Yang Tse [Sun, 29 Jun 2008 11:08:52 +0000 (11:08 +0000)]
fix C style comment
Yang Tse [Sun, 29 Jun 2008 03:19:20 +0000 (03:19 +0000)]
John Lightsey filed bug report #1999181: "CLOCK_MONOTONIC always fails on
some systems" (http://curl.haxx.se/bug/view.cgi?id=1999181). The problem was
that the configure script did not use the _POSIX_MONOTONIC_CLOCK feature test
macro when checking monotonic clock availability. This is now fixed and the
monotonic clock will not be used unless the feature test macro is defined
with a value greater than zero indicating always supported.
Daniel Stenberg [Thu, 26 Jun 2008 07:53:44 +0000 (07:53 +0000)]
let's try to maintain compatibility with NSS 3.11.x
Dan Fandrich [Thu, 26 Jun 2008 01:43:53 +0000 (01:43 +0000)]
Honour --stderr with the -v option.
Fixed a file handle leak in the command line client if more than one
--stderr option was given.
Daniel Stenberg [Tue, 24 Jun 2008 08:52:35 +0000 (08:52 +0000)]
Added README.NSS to describe the current NSS situation.
Daniel Stenberg [Sun, 22 Jun 2008 20:38:16 +0000 (20:38 +0000)]
- Eduard Bloch filed the debian bug report #487567
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487567) pointing out that
libcurl used Content-Range: instead of Range when doing a range request with
--head (CURLOPT_NOBODY). This is now fixed and test case 1032 was added to
verify.
Dan Fandrich [Sun, 22 Jun 2008 06:57:00 +0000 (06:57 +0000)]
Stopped using ranges in scanf character sequences (e.g. %[a-z]) since that
is not ANSI C, just a common extension. This caused problems on
at least Open Watcom C.
Daniel Stenberg [Sat, 21 Jun 2008 21:21:29 +0000 (21:21 +0000)]
Oops, that was an experimental change not meant to be committed!
Daniel Stenberg [Sat, 21 Jun 2008 21:19:42 +0000 (21:19 +0000)]
made Curl_nss_send() take const data to kill compiler warning
Dan Fandrich [Sat, 21 Jun 2008 17:56:48 +0000 (17:56 +0000)]
Edited some test keywords for consistency