sajith/curl+cyassl.git
16 years ago7.17.1! curl-7.17.1
bagder [Mon, 29 Oct 2007 14:49:11 +0000 (14:49 +0000)]
7.17.1!

16 years agocorrect mirror count
bagder [Mon, 29 Oct 2007 14:48:37 +0000 (14:48 +0000)]
correct mirror count

16 years agolet 7.17.1 be version-info 4:1:0
bagder [Mon, 29 Oct 2007 10:19:07 +0000 (10:19 +0000)]
let 7.17.1 be version-info 4:1:0

16 years agoOpenWatcom cannot use wldap32.lib (wrong calling convention?).
giva [Sun, 28 Oct 2007 12:02:20 +0000 (12:02 +0000)]
OpenWatcom cannot use wldap32.lib (wrong calling convention?).
Added generation of dummy ca-bundle.h. Sorted objects.

16 years agohttp://curl.wetzlmayr.at/ is a new web mirror in Nuremberg, Germany
bagder [Sun, 28 Oct 2007 09:33:03 +0000 (09:33 +0000)]
curl.wetzlmayr.at/ is a new web mirror in Nuremberg, Germany

16 years agoFixed the 2000-series tests so that the downloaded data is actually checked
danf [Sat, 27 Oct 2007 01:04:36 +0000 (01:04 +0000)]
Fixed the 2000-series tests so that the downloaded data is actually checked

16 years agoMade the magic testnumber > 10000 support actually work
danf [Sat, 27 Oct 2007 01:02:57 +0000 (01:02 +0000)]
Made the magic testnumber > 10000 support actually work

16 years agoFixed the test case to create only a single test file, which is all the
danf [Fri, 26 Oct 2007 20:19:49 +0000 (20:19 +0000)]
Fixed the test case to create only a single test file, which is all the
test harness supports.

16 years agoFixed a valgrind uninitialized variable error.
danf [Fri, 26 Oct 2007 19:26:41 +0000 (19:26 +0000)]
Fixed a valgrind uninitialized variable error.

16 years agoCheck that all servers in the <server> section are supported, not just
danf [Fri, 26 Oct 2007 19:26:04 +0000 (19:26 +0000)]
Check that all servers in the <server> section are supported, not just
the first.

16 years agomention --static-libs as added in 7.17.1
bagder [Fri, 26 Oct 2007 07:46:02 +0000 (07:46 +0000)]
mention --static-libs as added in 7.17.1

16 years agotypecast to prevent compiler warning
yangtse [Fri, 26 Oct 2007 01:12:33 +0000 (01:12 +0000)]
typecast to prevent compiler warning

16 years agoDetect, log and avoid storing a request with a negative size.
yangtse [Fri, 26 Oct 2007 00:36:36 +0000 (00:36 +0000)]
Detect, log and avoid storing a request with a negative size.

16 years agoAdded the --static-libs option to curl-config
danf [Thu, 25 Oct 2007 22:30:35 +0000 (22:30 +0000)]
Added the --static-libs option to curl-config

16 years agoDisable valgrind for this test to avoid the rlimit = soft rlimit problem
danf [Thu, 25 Oct 2007 21:49:45 +0000 (21:49 +0000)]
Disable valgrind for this test to avoid the rlimit = soft rlimit problem
found by Michal Marek.

16 years agooops
bagder [Thu, 25 Oct 2007 21:14:15 +0000 (21:14 +0000)]
oops

16 years agoMade libcurl built with NSS possible to ignore the peer verification.
bagder [Thu, 25 Oct 2007 21:08:55 +0000 (21:08 +0000)]
Made libcurl built with NSS possible to ignore the peer verification.
Previously it would fail if the ca bundle wasn't present, even if the code
ignored the verification results.

16 years agoAdded test case 2004.
danf [Thu, 25 Oct 2007 21:04:51 +0000 (21:04 +0000)]
Added test case 2004.
Disable valgrind in test case 1004 due to a libtool bug.

16 years agoprevent compiler warnings about shadowing and one case of unused variable
bagder [Thu, 25 Oct 2007 20:54:46 +0000 (20:54 +0000)]
prevent compiler warnings about shadowing and one case of unused variable

16 years agoAllow test server to handle binary POSTs.
patrickm [Thu, 25 Oct 2007 19:40:05 +0000 (19:40 +0000)]
Allow test server to handle binary POSTs.
Tests 35, 544 545 added: binary data POSTs.

16 years agoWhen valgrind is disabled in the test file, don't run it at all (as opposed
danf [Thu, 25 Oct 2007 19:39:52 +0000 (19:39 +0000)]
When valgrind is disabled in the test file, don't run it at all (as opposed
to running it and ignoring its output).

16 years agoDon't show valgrind log files of other tests
yangtse [Thu, 25 Oct 2007 18:07:13 +0000 (18:07 +0000)]
Don't show valgrind log files of other tests

16 years agoMichal Marek fixed the test script to be able to use valgrind even when the
bagder [Thu, 25 Oct 2007 14:30:51 +0000 (14:30 +0000)]
Michal Marek fixed the test script to be able to use valgrind even when the
lib is built shared with libtool.

16 years agoDon't assume there's a sessionhandle around when a connection is disconnected,
bagder [Thu, 25 Oct 2007 09:41:35 +0000 (09:41 +0000)]
Don't assume there's a sessionhandle around when a connection is disconnected,
so do the data->reqdata.current_conn assignment when we know there is an easy
handle existing! Fixes the valgrind report on test 509.

16 years agofix the check
bagder [Thu, 25 Oct 2007 09:34:16 +0000 (09:34 +0000)]
fix the check

16 years agoFixed a TFTP memory leak. Enabled test 2003 to verify this.
bagder [Thu, 25 Oct 2007 07:47:38 +0000 (07:47 +0000)]
Fixed a TFTP memory leak. Enabled test 2003 to verify this.

16 years agoFixed the test TFTP server to support the >10000 test number notation
danf [Wed, 24 Oct 2007 22:48:23 +0000 (22:48 +0000)]
Fixed the test TFTP server to support the >10000 test number notation
Added test cases 2002 and 2003 (the latter disabled for now)

16 years agoenable 2000 and 2001
bagder [Wed, 24 Oct 2007 21:27:25 +0000 (21:27 +0000)]
enable 2000 and 2001

16 years agoCurl_ftp_disconnect() no longer relies on anything in the reqdata struct. That
bagder [Wed, 24 Oct 2007 21:14:11 +0000 (21:14 +0000)]
Curl_ftp_disconnect() no longer relies on anything in the reqdata struct. That
was even mentioned to be bad in a comment! Should make test 2000 and 2001 work
fine.

Also, freedirs() now take a ftp_conn struct pointer which saves some extra
unnecessary variable assignments.

16 years agoadded clarifying comment
bagder [Wed, 24 Oct 2007 21:09:59 +0000 (21:09 +0000)]
added clarifying comment

16 years agoAdded test cases 2000 and 2001 which test multiple protocols using the
danf [Wed, 24 Oct 2007 19:40:07 +0000 (19:40 +0000)]
Added test cases 2000 and 2001 which test multiple protocols using the
same easy handle
Fixed the filecheck: make target to work outside the source tree

16 years agoFixed the test FTP server to support the >10000 test number notation
danf [Wed, 24 Oct 2007 19:39:29 +0000 (19:39 +0000)]
Fixed the test FTP server to support the >10000 test number notation

16 years agoMissing double quotes
yangtse [Wed, 24 Oct 2007 16:40:59 +0000 (16:40 +0000)]
Missing double quotes

16 years agoWindows build targets have socklen_t definition in ws2tcpip.h but some
yangtse [Wed, 24 Oct 2007 14:39:07 +0000 (14:39 +0000)]
Windows build targets have socklen_t definition in ws2tcpip.h but some
versions of ws2tcpip.h do not have the definition. It seems that when
the socklen_t definition is missing from ws2tcpip.h the definition for
INET_ADDRSTRLEN is also missing, and that when one definition is present
the other one also is available.

16 years agoClose log/server.input ASAP to avoid lengthy file lock on cygwin
patrickm [Wed, 24 Oct 2007 13:03:08 +0000 (13:03 +0000)]
Close log/server.input ASAP to avoid lengthy file lock on cygwin

16 years agoVladimir Lazarenko pointed out that we should do some 'mt' magic when
bagder [Wed, 24 Oct 2007 09:28:36 +0000 (09:28 +0000)]
Vladimir Lazarenko pointed out that we should do some 'mt' magic when
building with VC8 to get the "manifest" embedded to make fine stand-alone
binaries. The maketgz and the src/Makefile.vc6 files were adjusted
accordingly.

16 years agoBug report #1812190 (http://curl.haxx.se/bug/view.cgi?id=1812190) points out
bagder [Tue, 23 Oct 2007 21:00:51 +0000 (21:00 +0000)]
Bug report #1812190 (curl.haxx.se/bug/view.cgi?id=1812190) points out
that libcurl tried to re-use connections a bit too much when using non-SSL
protocols tunneled over a HTTP proxy.

16 years agoFile is not a protocol that can deal with "persistancy"
yangtse [Tue, 23 Oct 2007 15:16:46 +0000 (15:16 +0000)]
File is not a protocol that can deal with "persistancy"

16 years agoRead callback should return 0 when no more data left
yangtse [Tue, 23 Oct 2007 15:10:48 +0000 (15:10 +0000)]
Read callback should return 0 when no more data left

16 years agoFix compiler warning: subscript has type `char'
yangtse [Tue, 23 Oct 2007 10:14:24 +0000 (10:14 +0000)]
Fix compiler warning: subscript has type `char'

16 years agoremoved dependency on gettimeofday() since we use only 1 sec resolution here.
gknauf [Mon, 22 Oct 2007 23:31:40 +0000 (23:31 +0000)]
removed dependency on gettimeofday() since we use only 1 sec resolution here.

16 years agoremoved 105, it is now assumed to be fixed!
bagder [Mon, 22 Oct 2007 15:07:29 +0000 (15:07 +0000)]
removed 105, it is now assumed to be fixed!

105 - "invalid free after an http redirect to ftp"

16 years agoMichal Marek forwarded the bug report
bagder [Mon, 22 Oct 2007 15:05:35 +0000 (15:05 +0000)]
Michal Marek forwarded the bug report
https://bugzilla.novell.com/show_bug.cgi?id=332917 about a HTTP redirect to
FTP that caused memory havoc. His work together with my efforts created two
fixes:

#1 - FTP::file was moved to struct ftp_conn, because is has to be dealt with
     at connection cleanup, at which time the struct HandleData could be
     used by another connection.
     Also, the unused char *urlpath member is removed from struct FTP.

#2 - provide a Curl_reset_reqproto() function that frees
     data->reqdata.proto.* on connection setup if needed (that is if the
     SessionHandle was used by a different connection).

16 years agoRemoved 93 and 100, there's no work on these and they're not critical in any
bagder [Mon, 22 Oct 2007 14:48:25 +0000 (14:48 +0000)]
Removed 93 and 100, there's no work on these and they're not critical in any
way:

93 - Digest for IIS fix (subject for removal)
100 - icc segmentation faults (subject for removal)

16 years ago#103 is fixed
bagder [Mon, 22 Oct 2007 10:23:25 +0000 (10:23 +0000)]
#103 is fixed

16 years agomention Patrick Monnerat's recent work on the postfields problems
bagder [Mon, 22 Oct 2007 09:28:42 +0000 (09:28 +0000)]
mention Patrick Monnerat's recent work on the postfields problems

16 years agoBug report #1815530 (http://curl.haxx.se/bug/view.cgi?id=1815530) points out
bagder [Mon, 22 Oct 2007 09:25:45 +0000 (09:25 +0000)]
Bug report #1815530 (curl.haxx.se/bug/view.cgi?id=1815530) points out
that specifying a proxy with a trailing slash didn't work (unless it also
contained a port number).

16 years agoMohun Biswas sent a patch to fix generated MSVC8 makefiles.
gknauf [Sat, 20 Oct 2007 21:06:24 +0000 (21:06 +0000)]
Mohun Biswas sent a patch to fix generated MSVC8 makefiles.

16 years agoWe use this ZERO_NULL to avoid picky compiler warnings,
yangtse [Sat, 20 Oct 2007 15:47:16 +0000 (15:47 +0000)]
We use this ZERO_NULL to avoid picky compiler warnings,
when assigning a NULL pointer to a function pointer var.

16 years agoFix compiler warning: conversion from "int" to "unsigned short" may lose significant...
yangtse [Sat, 20 Oct 2007 15:11:51 +0000 (15:11 +0000)]
Fix compiler warning: conversion from "int" to "unsigned short" may lose significant bits

16 years agoAdd custom check for WINLDAP libraries.
yangtse [Fri, 19 Oct 2007 16:15:42 +0000 (16:15 +0000)]
Add custom check for WINLDAP libraries.

In CURL_CHECK_LIBS_WINLDAP and CURL_CHECK_LIBS_LDAP, check first with no
additional library even when the optional list of libraries has been given.

16 years agoFix message shown when detecting icc version
yangtse [Fri, 19 Oct 2007 12:15:00 +0000 (12:15 +0000)]
Fix message shown when detecting icc version

16 years agoAvoid shadowing a global declaration
yangtse [Fri, 19 Oct 2007 10:52:28 +0000 (10:52 +0000)]
Avoid shadowing a global declaration

16 years agoRenamed a variable to avoid shadowing a global declaration
yangtse [Thu, 18 Oct 2007 17:31:19 +0000 (17:31 +0000)]
Renamed a variable to avoid shadowing a global declaration

16 years agoRenamed internal function to avoid a variable shadowing it
yangtse [Thu, 18 Oct 2007 17:17:18 +0000 (17:17 +0000)]
Renamed internal function to avoid a variable shadowing it

16 years agoFix compiler warning: feupdateenv is not implemented and will always fail.
yangtse [Thu, 18 Oct 2007 16:24:14 +0000 (16:24 +0000)]
Fix compiler warning: feupdateenv is not implemented and will always fail.
Specifically for linux x86-64 with Intel's icc.

16 years agoSync PLATFORM_AIX_V3 detection and CURL_CC_DEBUG_OPTS()
yangtse [Thu, 18 Oct 2007 15:11:51 +0000 (15:11 +0000)]
Sync PLATFORM_AIX_V3 detection and CURL_CC_DEBUG_OPTS()
icc warning level with libcurl's

16 years agoAllow CURLOPT_COPYPOSTFIELDS with explicit data size = 0
patrickm [Thu, 18 Oct 2007 10:54:49 +0000 (10:54 +0000)]
Allow CURLOPT_COPYPOSTFIELDS with explicit data size = 0

16 years agoAvoid a NULL pointer dereference in an OOM condition.
danf [Thu, 18 Oct 2007 01:04:57 +0000 (01:04 +0000)]
Avoid a NULL pointer dereference in an OOM condition.

16 years agoFix compiler warning: conversion from "int" to "unsigned char"
yangtse [Thu, 18 Oct 2007 01:01:20 +0000 (01:01 +0000)]
Fix compiler warning: conversion from "int" to "unsigned char"
may lose significant bits

16 years agoFix overflow detection, take four. Avoiding zero size malloc.
yangtse [Wed, 17 Oct 2007 19:29:06 +0000 (19:29 +0000)]
Fix overflow detection, take four. Avoiding zero size malloc.

16 years agoFix CURL_CHECK_LIBS_LDAP failure when no parameter is given
yangtse [Wed, 17 Oct 2007 18:47:01 +0000 (18:47 +0000)]
Fix CURL_CHECK_LIBS_LDAP failure when no parameter is given

16 years agoactually sync with lib/setup_once.h
yangtse [Wed, 17 Oct 2007 18:18:27 +0000 (18:18 +0000)]
actually sync with lib/setup_once.h

16 years agoFix overflow detection, thanks to Patrick Monnerat detecting test
yangtse [Wed, 17 Oct 2007 18:06:32 +0000 (18:06 +0000)]
Fix overflow detection, thanks to Patrick Monnerat detecting test
failure condition: http://curl.haxx.se/mail/lib-2007-10/0152.html

16 years agosync with lib/setup_once.h
yangtse [Wed, 17 Oct 2007 16:59:24 +0000 (16:59 +0000)]
sync with lib/setup_once.h

16 years agoWe use this ZERO_NULL to avoid picky compiler warnings,
yangtse [Wed, 17 Oct 2007 16:58:32 +0000 (16:58 +0000)]
We use this ZERO_NULL to avoid picky compiler warnings,
when assigning a NULL pointer to a function pointer var.

16 years agoDefault check for more libraries in CURL_CHECK_LIBS_LDAP,
yangtse [Wed, 17 Oct 2007 13:08:10 +0000 (13:08 +0000)]
Default check for more libraries in CURL_CHECK_LIBS_LDAP,
and allow parameter specification of libraries to check.

16 years agoFix compiler warning: signed and unsigned type in conditional expression
yangtse [Wed, 17 Oct 2007 00:44:48 +0000 (00:44 +0000)]
Fix compiler warning: signed and unsigned type in conditional expression

16 years agoFix compiler warning: comparison between signed and unsigned
yangtse [Wed, 17 Oct 2007 00:10:00 +0000 (00:10 +0000)]
Fix compiler warning: comparison between signed and unsigned

16 years agoANSI C compliant overflow check
yangtse [Tue, 16 Oct 2007 23:32:02 +0000 (23:32 +0000)]
ANSI C compliant overflow check

16 years agoFix a bug where fallback from AF_INET6 to AF_INET would not work properly together...
sesse [Tue, 16 Oct 2007 21:27:51 +0000 (21:27 +0000)]
Fix a bug where fallback from AF_INET6 to AF_INET would not work properly together with relative search; if you had a search path of .a.com and .b.com, and foo.a.com would return ARES_ENODATA and foo.b.com would return ARES_ENOTFOUND, the lookup would not properly retry with AF_INET as it forgot the first ARES_ENODATA.

16 years agoFixed compiler warning re: unused variable `bigsize'
danf [Tue, 16 Oct 2007 18:09:57 +0000 (18:09 +0000)]
Fixed compiler warning re: unused variable `bigsize'

16 years agoAvoid depending on a header file for the definition of NULL
yangtse [Mon, 15 Oct 2007 23:58:11 +0000 (23:58 +0000)]
Avoid depending on a header file for the definition of NULL

16 years agoMention first version with CURLOPT_COPYPOSTFIELDS.
danf [Mon, 15 Oct 2007 21:19:40 +0000 (21:19 +0000)]
Mention first version with CURLOPT_COPYPOSTFIELDS.
Don't confuse NUL with NULL.

16 years agoUpdated minimum libcurl size
danf [Mon, 15 Oct 2007 21:03:40 +0000 (21:03 +0000)]
Updated minimum libcurl size

16 years agoFix dynamic CURLOPT_POSTFIELDS bug: back to static.
patrickm [Mon, 15 Oct 2007 18:32:01 +0000 (18:32 +0000)]
Fix dynamic CURLOPT_POSTFIELDS bug: back to static.
CURLOPT_COPYPOSTFIELDS option added for dynamic.
Fix some OS400 features.

16 years agoFix LDAP compile error when LDAP is not available.
danf [Mon, 15 Oct 2007 16:24:46 +0000 (16:24 +0000)]
Fix LDAP compile error when LDAP is not available.
Fixed a typo in the LDAP configure code and made sure NULL is defined
in a test programs that need it.

16 years agoFix custom check for LDAP libraries
yangtse [Sun, 14 Oct 2007 23:47:15 +0000 (23:47 +0000)]
Fix custom check for LDAP libraries

16 years agoAdd custom check for LDAP libraries
yangtse [Sun, 14 Oct 2007 21:25:10 +0000 (21:25 +0000)]
Add custom check for LDAP libraries

16 years agoAdd custom checks for lber, ldap, ldapssl and ldap_ssl header files
yangtse [Sun, 14 Oct 2007 02:37:04 +0000 (02:37 +0000)]
Add custom checks for lber, ldap, ldapssl and ldap_ssl header files

16 years agoChris Leighton:
bagder [Sat, 13 Oct 2007 20:49:51 +0000 (20:49 +0000)]
Chris Leighton:

My understanding is that we use "number" for discrete variables and
"amount" for continuous variables.

So you can say "The amount of flour required depends on..." or, "Last
night I consumed a large amount of beer!".

And, "That tank contains a large number of fish" or, "Over the week I
consumed a number of cases of beer."

I think that features are discrete, so the man page would read "...the
number of features will make your head spin!".

16 years agoAdd check for winldap and winber header files
yangtse [Sat, 13 Oct 2007 14:23:15 +0000 (14:23 +0000)]
Add check for winldap and winber header files

16 years agoMade a few more functions static with the protocol handler table in place.
danf [Sat, 13 Oct 2007 00:47:53 +0000 (00:47 +0000)]
Made a few more functions static with the protocol handler table in place.

16 years agoanother Curl_handler fix, the #ifdefs got a bit mixed up...
bagder [Fri, 12 Oct 2007 20:53:43 +0000 (20:53 +0000)]
another Curl_handler fix, the #ifdefs got a bit mixed up...

16 years agoFixed a few compile errors and warnings.
danf [Fri, 12 Oct 2007 18:49:14 +0000 (18:49 +0000)]
Fixed a few compile errors and warnings.

16 years agoadded three serious bugs to fix before release, and marked the previous two
bagder [Fri, 12 Oct 2007 15:26:33 +0000 (15:26 +0000)]
added three serious bugs to fix before release, and marked the previous two
as subject for removal from this list (without any fix)

16 years agoAdded per-protocol callback static tables, replacing callback ptr storage
patrickm [Fri, 12 Oct 2007 13:36:37 +0000 (13:36 +0000)]
Added per-protocol callback static tables, replacing callback ptr storage
in the connectdata structure by a single handler table ptr.

16 years agoFixed a couple of typos that messed up the tests.
danf [Fri, 12 Oct 2007 02:09:45 +0000 (02:09 +0000)]
Fixed a couple of typos that messed up the tests.

16 years agoAdded some <keywords> sections and use some key words more consistently.
danf [Fri, 12 Oct 2007 01:44:22 +0000 (01:44 +0000)]
Added some <keywords> sections and use some key words more consistently.

16 years agoFixed the -l option of runtests.pl
danf [Thu, 11 Oct 2007 21:15:09 +0000 (21:15 +0000)]
Fixed the -l option of runtests.pl
Added support for skipping tests based on key words.

16 years agoimprove checking for ldap.h and ldap_ssl.h header files
yangtse [Wed, 10 Oct 2007 13:00:11 +0000 (13:00 +0000)]
improve checking for ldap.h and ldap_ssl.h header files

16 years agolber.h needs to be included since ldap.h might not include it
yangtse [Tue, 9 Oct 2007 23:51:55 +0000 (23:51 +0000)]
lber.h needs to be included since ldap.h might not include it

16 years agoAdd check for lber.h and ldap.h header files
yangtse [Tue, 9 Oct 2007 23:44:14 +0000 (23:44 +0000)]
Add check for lber.h and ldap.h header files

16 years agoadded check for MSVC6 standard PSDK and bail out since insufficient for LDAP support...
gknauf [Tue, 9 Oct 2007 23:25:58 +0000 (23:25 +0000)]
added check for MSVC6 standard PSDK and bail out since insufficient for LDAP support with current code.

16 years agoalso log error message string
yangtse [Tue, 9 Oct 2007 23:24:28 +0000 (23:24 +0000)]
also log error message string

16 years agologmsg already appends '\n'
yangtse [Tue, 9 Oct 2007 23:21:29 +0000 (23:21 +0000)]
logmsg already appends '\n'

16 years agofix socklen_t for MSVC6 & 7.
gknauf [Tue, 9 Oct 2007 22:10:17 +0000 (22:10 +0000)]
fix socklen_t for MSVC6 & 7.

16 years agoadded two more module dependencies for LDAPS.
gknauf [Tue, 9 Oct 2007 20:15:27 +0000 (20:15 +0000)]
added two more module dependencies for LDAPS.

16 years agoDocumented error codes 77-80, and fixed the one for 60.
danf [Tue, 9 Oct 2007 16:49:41 +0000 (16:49 +0000)]
Documented error codes 77-80, and fixed the one for 60.

16 years agoAdd a paragraph about CURLOPT_CUSTOMREQUEST not actually changing libcurl's
bagder [Tue, 9 Oct 2007 14:53:50 +0000 (14:53 +0000)]
Add a paragraph about CURLOPT_CUSTOMREQUEST not actually changing libcurl's
behavior, it only changes the actual request method keyword and this is not
always what the user/app wants.