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
Yang Tse [Fri, 20 Jun 2008 18:09:48 +0000 (18:09 +0000)]
Modified configuration script to actually verify if the compiler is good
enough at detecting compilation errors or at least it has been properly
configured to do so. Configuration heavily depends on this capability, so
if this compiler sanity check fails the configuration process will now fail.
Daniel Stenberg [Fri, 20 Jun 2008 11:15:54 +0000 (11:15 +0000)]
- Phil Pellouchoud found a case where libcurl built with NSS failed to
handshake with a SSLv2 server, and it turned out to be because it didn't
recognize the cipher named "rc4-md5". In our list that cipher was named
plainly "rc4". I've now added rc4-md5 to work as an alias as Phil reported
that it made things work for him again.
Daniel Stenberg [Fri, 20 Jun 2008 10:45:26 +0000 (10:45 +0000)]
remove leftover proto that isn't used, I made it a macro instead
Daniel Stenberg [Fri, 20 Jun 2008 10:43:32 +0000 (10:43 +0000)]
- Hans-Jurgen May pointed out that trying SCP or SFTP over a SOCKS proxy
crashed libcurl. This is now addressed by making sure we use "plain send"
internally when doing the socks handshake instead of the Curl_write()
function which is designed to use the "target" protocol. That's then SCP or
SFTP in this case. I also took the opportunity and cleaned up some ssh-
related #ifdefs in the code for readability.
Daniel Stenberg [Thu, 19 Jun 2008 22:24:21 +0000 (22:24 +0000)]
minor language fix
Daniel Stenberg [Thu, 19 Jun 2008 21:32:51 +0000 (21:32 +0000)]
- Christopher Palow fixed a curl_multi_socket() issue which previous caused
libcurl to not tell the app properly when a socket was closed (when the name
resolve done by c-ares is done) and then immediately re-created and put to
use again (for the actual connection). Since the closure will make the
"watch status" get lost in several event-based systems libcurl will need to
tell the app about this close/re-create case.
Daniel Stenberg [Thu, 19 Jun 2008 08:31:22 +0000 (08:31 +0000)]
- Dengminwen found a bug in the connection re-use function when using the
multi interface with pipelining enabled as it would wrongly check for,
detect and close "dead connections" even though that connection was already
in use!
Daniel Stenberg [Thu, 19 Jun 2008 05:47:27 +0000 (05:47 +0000)]
Removed the #define of ciphernum since keeping a define updated to be the
number of entries in a provided table is doomed to fail in the long run. Now
we use the NUM_OF_CIPHERS define instead to figure out the amount.
Daniel Stenberg [Thu, 19 Jun 2008 05:42:45 +0000 (05:42 +0000)]
s/strcasecmp/strequal to make it more portable
Dan Fandrich [Thu, 19 Jun 2008 01:12:02 +0000 (01:12 +0000)]
Always use $LOGDIR when referring to the log directory.
Dan Fandrich [Thu, 19 Jun 2008 00:30:02 +0000 (00:30 +0000)]
Fixed a memory leak in the command-line tool that caused a valgrind error.
Dan Fandrich [Thu, 19 Jun 2008 00:18:58 +0000 (00:18 +0000)]
Added SSH failure test cases 628-632
Daniel Stenberg [Wed, 18 Jun 2008 22:01:55 +0000 (22:01 +0000)]
- Rob Crittenden brought a fix for the NSS layer that makes libcurl no longer
always fire up a new connection rather than using the existing one when the
multi interface is used. Original bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=450140
Daniel Stenberg [Wed, 18 Jun 2008 21:50:40 +0000 (21:50 +0000)]
removed warning about unused argument by simply removing that argument from
the check_issuer_cert() proto
Daniel Stenberg [Wed, 18 Jun 2008 21:48:51 +0000 (21:48 +0000)]
check_issuer_cert() now builds and there's one warning less. Still one compiler
warning in the code though but we need NSS' base64.h header for that and we
don't currently have a suitable way to include it as our own base64.h header
kind of "blocks" it.
Yang Tse [Wed, 18 Jun 2008 04:39:29 +0000 (04:39 +0000)]
No longer break out of a shell "for" statement from inside
AC_FOO_IFELSE macros, otherwise temp files are not removed.
Identation adjustment.
Daniel Stenberg [Fri, 13 Jun 2008 21:16:10 +0000 (21:16 +0000)]
In checkPendPipeline() we can't be setting the TIMER_CONNECT correctly as that
is for the TCP connect. I changed it to TIMER_PRETRANSFER which seems to be
what was intended here.
Daniel Stenberg [Fri, 13 Jun 2008 20:45:34 +0000 (20:45 +0000)]
fixed the language somewhat
Dan Fandrich [Fri, 13 Jun 2008 00:03:12 +0000 (00:03 +0000)]
Fixed curl-config --ca which wasn't being exported by configure.
Dan Fandrich [Thu, 12 Jun 2008 23:50:57 +0000 (23:50 +0000)]
Added IPv6 keywords for some more tests that require IPv6 networking support
Daniel Stenberg [Thu, 12 Jun 2008 22:00:35 +0000 (22:00 +0000)]
fixed bad infof() usage!
Daniel Stenberg [Thu, 12 Jun 2008 21:16:00 +0000 (21:16 +0000)]
added the versions of a range of build tools that we want to remain to work
Daniel Stenberg [Thu, 12 Jun 2008 21:03:16 +0000 (21:03 +0000)]
My first attempt at documenting what we try to support and make curl run with
in regard to C standard, third party libraries and operating systems etc.
Daniel Stenberg [Wed, 11 Jun 2008 17:01:58 +0000 (17:01 +0000)]
- I did a cleanup of the internal generic SSL layer and how the various SSL
libraries are supported. Starting now, each underlying SSL library support
code does a set of defines for the 16 functions the generic layer (sslgen.c)
uses (all these new function defines use the prefix "curlssl_"). This
greatly simplified the generic layer in readability by involving much less
#ifdefs and other preprocessor stuff and should make it easier for people to
make libcurl work with new SSL libraries.
Hopefully I can later on document these 16 functions somewhat as well.
I also made most of the internal SSL-dependent functions (using Curl_ssl_
prefix) #defined to nothing when no SSL support is requested - previously
they would unnecessarily call mostly empty functions.
Yang Tse [Wed, 11 Jun 2008 15:26:04 +0000 (15:26 +0000)]
fix compiler warning: conversion from `pointer to void' to `pointer to int
function(pointer to char,int,int,pointer to void)' is compiler dependent
Gunter Knauf [Wed, 11 Jun 2008 00:07:08 +0000 (00:07 +0000)]
enable additional CFLAGS from commandline.
Daniel Stenberg [Tue, 10 Jun 2008 21:53:59 +0000 (21:53 +0000)]
fix warning in GnuTLS build by making sure Curl_gtls_send() takes a const
void *
Daniel Stenberg [Tue, 10 Jun 2008 20:49:17 +0000 (20:49 +0000)]
- I made the OpenSSL code build again with OpenSSL 0.9.6. The CRLFILE
functionality killed it due to its unconditional use of
X509_STORE_set_flags...
Michal Marek [Mon, 9 Jun 2008 11:13:19 +0000 (11:13 +0000)]
CURLOPT_CRLFILE and CURLOPT_ISSUERCERT are new string options
Yang Tse [Mon, 9 Jun 2008 01:06:48 +0000 (01:06 +0000)]
fix pkg-config reporting of private libraries needed for static linking
Gunter Knauf [Sun, 8 Jun 2008 22:29:34 +0000 (22:29 +0000)]
enable additional CFLAGS from commandline.
Daniel Stenberg [Sun, 8 Jun 2008 22:00:42 +0000 (22:00 +0000)]
7.19.0 is next
Daniel Stenberg [Sun, 8 Jun 2008 21:04:46 +0000 (21:04 +0000)]
the next release is now called 7.19.0
Daniel Stenberg [Sun, 8 Jun 2008 20:53:49 +0000 (20:53 +0000)]
- curl the tool now deals with its command line options somewhat differently!
All boolean options (such as -O, -I, -v etc), both short and long versions,
now always switch on/enable the option named. Using the same option multiple
times thus make no difference. To switch off one of those options, you need
to use the long version of the option and type --no-OPTION. Like to disable
verbose mode you use --no-verbose!
- Added --remote-name-all to curl, which if used changes the default for all
given URLs to be dealt with as if -O is used. So if you want to disable that
for a specific URL after --remote-name-all has been used, you muse use -o -
or --no-remote-name.
Gunter Knauf [Sun, 8 Jun 2008 15:52:03 +0000 (15:52 +0000)]
use our *printf functions only.
Daniel Stenberg [Fri, 6 Jun 2008 22:11:24 +0000 (22:11 +0000)]
Moved all changes from 2007 from CHANGES to CHANGES.0
Daniel Stenberg [Fri, 6 Jun 2008 20:57:32 +0000 (20:57 +0000)]
code style cleanup
Daniel Stenberg [Fri, 6 Jun 2008 20:52:32 +0000 (20:52 +0000)]
- Axel Tillequin and Arnaud Ebalard added support for CURLOPT_ISSUERCERT, for
OpenSSL, NSS and GnuTLS-built libcurls.
Yang Tse [Fri, 6 Jun 2008 18:44:39 +0000 (18:44 +0000)]
MSVC does build Windows native targets
Daniel Stenberg [Fri, 6 Jun 2008 18:40:58 +0000 (18:40 +0000)]
mention added in 7.18.3
Daniel Stenberg [Fri, 6 Jun 2008 18:40:21 +0000 (18:40 +0000)]
- Axel Tillequin and Arnaud Ebalard added support for CURLOPT_CRLFILE, for
OpenSSL, NSS and GnuTLS-built libcurls.
Daniel Stenberg [Fri, 6 Jun 2008 17:33:35 +0000 (17:33 +0000)]
- Added CURLINFO_PRIMARY_IP as a new information retrievable with
curl_easy_getinfo. It returns a pointer to a string with the most recently
used IP address. Modified test case 500 to also verify this feature. The
implementing of this feature was sponsored by Lenny Rachitsky at NeuStar.
Daniel Stenberg [Thu, 5 Jun 2008 12:33:33 +0000 (12:33 +0000)]
7.18.2 is done now
Dan Fandrich [Thu, 5 Jun 2008 00:15:01 +0000 (00:15 +0000)]
Mention the minimum Symbian OS version required.
Dan Fandrich [Wed, 4 Jun 2008 23:44:53 +0000 (23:44 +0000)]
Mention a few options that require an argument in --help
Daniel Stenberg [Wed, 4 Jun 2008 16:05:48 +0000 (16:05 +0000)]
start working on 7.18.3!
Daniel Stenberg [Wed, 4 Jun 2008 16:03:54 +0000 (16:03 +0000)]
new contributors from the 7.18.2 release
Daniel Stenberg [Wed, 4 Jun 2008 15:38:27 +0000 (15:38 +0000)]
7.18.2
Dan Fandrich [Tue, 3 Jun 2008 18:03:11 +0000 (18:03 +0000)]
Fixed a problem where telnet data would be lost if an EWOULDBLOCK
condition were encountered.
Dan Fandrich [Tue, 3 Jun 2008 18:00:48 +0000 (18:00 +0000)]
Fixed typo in comment
Daniel Stenberg [Sun, 1 Jun 2008 22:10:21 +0000 (22:10 +0000)]
curl returns 0 for these options now
Daniel Stenberg [Sun, 1 Jun 2008 22:04:09 +0000 (22:04 +0000)]
now returns 0
Daniel Stenberg [Sun, 1 Jun 2008 17:59:53 +0000 (17:59 +0000)]
(committed this for Marty Kuhrt:)
- Updated main.c to return CURLE_OK if PARAM_HELP_REQUESTED was returned
from getparameter instead of CURLE_FAILED_INIT. No point in returning
an error if --help or --version were requested.
Marty Kuhrt [Sun, 1 Jun 2008 16:01:37 +0000 (16:01 +0000)]
return CURLE_OK instead of CURLE_FAILED_INIT if PARAM_HEKP_REQUESTED returned by getparameter
Yang Tse [Sat, 31 May 2008 01:37:21 +0000 (01:37 +0000)]
Fix problem: 'result' may be used uninitialized.
Issue detected by Guenter Knauf's NetWare autobuild.
Marty Kuhrt [Fri, 30 May 2008 23:53:25 +0000 (23:53 +0000)]
updated to match curlmsg.msg 1.7
Marty Kuhrt [Fri, 30 May 2008 23:52:06 +0000 (23:52 +0000)]
resync with curl.h messages
Marty Kuhrt [Fri, 30 May 2008 23:51:09 +0000 (23:51 +0000)]
resync with curl.h curle_ messages
Yang Tse [Fri, 30 May 2008 15:26:42 +0000 (15:26 +0000)]
Brad House fixed a missing header file inclusion in adig sample program
Daniel Stenberg [Thu, 29 May 2008 21:48:15 +0000 (21:48 +0000)]
Added a new "13. Web Login" chapter
Daniel Stenberg [Thu, 29 May 2008 20:39:18 +0000 (20:39 +0000)]
start working on 1.5.3
Daniel Stenberg [Thu, 29 May 2008 20:10:40 +0000 (20:10 +0000)]
1.5.2