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
Daniel Stenberg [Wed, 28 May 2008 20:57:03 +0000 (20:57 +0000)]
Fixed 142 and 143
Moved 144 to 7.18.3 instead
Daniel Stenberg [Wed, 28 May 2008 20:56:19 +0000 (20:56 +0000)]
- Emil Romanus found a problem and helped me repeat it. It occured when using
the curl_multi_socket() API with HTTP pipelining enabled and could lead to
the pipeline basically stalling for a very long period of time until it took
off again.
Daniel Stenberg [Wed, 28 May 2008 20:31:28 +0000 (20:31 +0000)]
- Jeff Weber reported memory leaks with aborted SCP and SFTP transfers and
provided excellent repeat recipes. I fixed the cases I managed to reproduce
but Jeff still got some (SCP) problems even after these fixes:
http://curl.haxx.se/mail/lib-2008-05/0342.html
Yang Tse [Tue, 27 May 2008 16:10:51 +0000 (16:10 +0000)]
Known bug #55, libcurl fails to build with MIT Kerberos for Windows (KfW)
due to KfW's library header files exporting symbols/macros that should be
kept private to the KfW library. See ticket #5601 at http://krbdev.mit.edu/rt/
Daniel Stenberg [Mon, 26 May 2008 20:39:41 +0000 (20:39 +0000)]
- Bug report #1973352 (curl.haxx.se/bug/view.cgi?id=1973352) identified
how the HTTP redirect following code didn't properly follow to a new URL if
the new url was but a query string such as "Location: ?moo=foo". Test case
1031 was added to verify this fix.
Daniel Stenberg [Mon, 26 May 2008 16:05:29 +0000 (16:05 +0000)]
I'd like to see this fixed for the 7.18,2:
144 - Help apps use 64bit/LFS libcurl
Daniel Stenberg [Mon, 26 May 2008 15:09:28 +0000 (15:09 +0000)]
Andreas Faerber and Scott McCreary made (lib)curl build for the Haiku OS
Daniel Stenberg [Mon, 26 May 2008 15:06:51 +0000 (15:06 +0000)]
Added Haiku OS, sorted the list of i386 OSes
Yang Tse [Mon, 26 May 2008 13:52:25 +0000 (13:52 +0000)]
fix compiler warning: unreferenced formal parameter
Yang Tse [Mon, 26 May 2008 03:10:34 +0000 (03:10 +0000)]
David Rosenstrauch reported that header files spnegohelp.h and
openssl/objects.h were needed to compile SPNEGO support.
Yang Tse [Mon, 26 May 2008 01:59:00 +0000 (01:59 +0000)]
fix: preprocessor complaining about macro redefinition
Daniel Stenberg [Sat, 24 May 2008 19:28:31 +0000 (19:28 +0000)]
summary of the current outstanding issues for upcoming and the subsequent
releases
Daniel Stenberg [Sat, 24 May 2008 19:19:49 +0000 (19:19 +0000)]
Christopher Palow's multi interface docs updates
Daniel Stenberg [Sat, 24 May 2008 11:20:11 +0000 (11:20 +0000)]
Nikolai Kondrashov for his man page update
Daniel Stenberg [Sat, 24 May 2008 11:19:51 +0000 (11:19 +0000)]
Nikolai Kondrashov provided a clarification for CURLOPT_HEADERFUNCTION
Daniel Stenberg [Fri, 23 May 2008 21:52:56 +0000 (21:52 +0000)]
list all local sources the (demo) tools need, add a few missing scripts to
the dist tarball and remove a two duplicate file names from EXTRA_DIST
(most of it pointed out by Yang Tse)
Daniel Stenberg [Fri, 23 May 2008 21:46:29 +0000 (21:46 +0000)]
this is not used (anymore)
Dan Fandrich [Fri, 23 May 2008 20:52:46 +0000 (20:52 +0000)]
Added some more to do items and a known bug.
Daniel Stenberg [Fri, 23 May 2008 17:56:03 +0000 (17:56 +0000)]
Dan Fandrich pointed out that this is the way we should increase the number
for 7.18.2 since we have added functions in this release.
http://curl.haxx.se/mail/lib-2008-05/0240.html
Dan Fandrich [Thu, 22 May 2008 21:49:52 +0000 (21:49 +0000)]
Made sure to pass longs in to curl_easy_setopt where necessary in the
libtest code.
Dan Fandrich [Thu, 22 May 2008 21:20:07 +0000 (21:20 +0000)]
Fixed a surprising number of example programs that were passing int arguments
to curl_easy_setopt instead of long.
Daniel Stenberg [Thu, 22 May 2008 20:34:47 +0000 (20:34 +0000)]
we bump the SO "revision" for next release due to the new functions added
Dan Fandrich [Thu, 22 May 2008 19:44:10 +0000 (19:44 +0000)]
Fixed some include file problems on Windows reported by David Rosenstrauch
Daniel Stenberg [Thu, 22 May 2008 17:41:29 +0000 (17:41 +0000)]
make sure the configure.ac file with the correct version number is shipped
in the tarball
Yang Tse [Thu, 22 May 2008 16:10:57 +0000 (16:10 +0000)]
MSVC6+ clean-up targets must also remove acountry.exe
Yang Tse [Thu, 22 May 2008 15:31:06 +0000 (15:31 +0000)]
sync with reality
Dan Fandrich [Wed, 21 May 2008 21:36:42 +0000 (21:36 +0000)]
Renamed MSDOS_FILESYSTEM to avoid conflict with MIT GSS
Dan Fandrich [Wed, 21 May 2008 21:08:31 +0000 (21:08 +0000)]
Removed some duplicated #includes
Yang Tse [Wed, 21 May 2008 18:24:09 +0000 (18:24 +0000)]
fix: [action-if-found] part of AC_CHECK_TYPE macro cannot be quoted when empty
Yang Tse [Wed, 21 May 2008 14:04:14 +0000 (14:04 +0000)]
fix: remove need and definition of HAVE_SOCKLEN_T symbol
Yang Tse [Wed, 21 May 2008 13:57:50 +0000 (13:57 +0000)]
fix: socklen_t definition comment