platform/upstream/curl.git
19 years agoGnuTLS support
Daniel Stenberg [Wed, 13 Apr 2005 08:50:13 +0000 (08:50 +0000)]
GnuTLS support

19 years agoextended the multi-thread explanation
Daniel Stenberg [Wed, 13 Apr 2005 08:47:59 +0000 (08:47 +0000)]
extended the multi-thread explanation

19 years agofix compiler warning
Daniel Stenberg [Wed, 13 Apr 2005 06:52:03 +0000 (06:52 +0000)]
fix compiler warning

19 years agoAllow environment variables to override default autotools.
Dan Fandrich [Wed, 13 Apr 2005 00:32:33 +0000 (00:32 +0000)]
Allow environment variables to override default autotools.

19 years agonext release will be version 7.14.0 thanks to the added GnuTLS support
Daniel Stenberg [Tue, 12 Apr 2005 14:17:07 +0000 (14:17 +0000)]
next release will be version 7.14.0 thanks to the added GnuTLS support

19 years agoProvides an unconditional strlcat() proto even if strlcat() was found by
Daniel Stenberg [Tue, 12 Apr 2005 07:56:57 +0000 (07:56 +0000)]
Provides an unconditional strlcat() proto even if strlcat() was found by
configure. An attempt to fix warnings when we build and the strlcat() function
is provided by one if the libs (gss or krb4) since then we have no protos
for it in a system header.

19 years agorequires OpenSSL, as our GnuTLS doesn't provide support for
Daniel Stenberg [Tue, 12 Apr 2005 07:19:34 +0000 (07:19 +0000)]
requires OpenSSL, as our GnuTLS doesn't provide support for
CURLOPT_SSL_CTX_FUNCTION (yet).

19 years agosupport tests that requires 'OpenSSL' specificly
Daniel Stenberg [Tue, 12 Apr 2005 07:18:48 +0000 (07:18 +0000)]
support tests that requires 'OpenSSL' specificly

19 years agocredits
Daniel Stenberg [Mon, 11 Apr 2005 14:07:02 +0000 (14:07 +0000)]
credits

19 years agorefresh
Daniel Stenberg [Mon, 11 Apr 2005 13:50:19 +0000 (13:50 +0000)]
refresh

19 years ago5.12 Can I make libcurl fake or hide my real IP address?
Daniel Stenberg [Mon, 11 Apr 2005 13:39:55 +0000 (13:39 +0000)]
5.12 Can I make libcurl fake or hide my real IP address?

19 years agoHTTP 304 response with Content-Length: header
Daniel Stenberg [Sun, 10 Apr 2005 22:56:46 +0000 (22:56 +0000)]
HTTP 304 response with Content-Length: header

19 years agoRemoved usage of u_int and u_char
Dominick Meglio [Sat, 9 Apr 2005 23:46:31 +0000 (23:46 +0000)]
Removed usage of u_int and u_char

19 years agoBlah, revert my removal of the extra check since the problem is there for real.
Daniel Stenberg [Sat, 9 Apr 2005 22:33:14 +0000 (22:33 +0000)]
Blah, revert my removal of the extra check since the problem is there for real.

Archived thread of the help-gnutls mailing list regarding this problem:

http://lists.gnu.org/archive/html/help-gnutls/2005-04/msg00000.html

(and I _am_ sorry for my confused behaviour on this problem.)

19 years agoOK, I must've been halucinating or something because I no longer see the
Daniel Stenberg [Sat, 9 Apr 2005 21:38:14 +0000 (21:38 +0000)]
OK, I must've been halucinating or something because I no longer see the
bug I thought I saw before when I changed this...!

19 years agoMade sortlist support IPv6 (this can probably use some testing)
Dominick Meglio [Sat, 9 Apr 2005 19:59:59 +0000 (19:59 +0000)]
Made sortlist support IPv6 (this can probably use some testing)

19 years agoMade sortlist support CIDR matching for IPv4
Dominick Meglio [Sat, 9 Apr 2005 16:49:47 +0000 (16:49 +0000)]
Made sortlist support CIDR matching for IPv4

19 years agoAdded preliminary IPv6 support to ares_gethostbyname
Dominick Meglio [Fri, 8 Apr 2005 19:46:46 +0000 (19:46 +0000)]
Added preliminary IPv6 support to ares_gethostbyname

19 years agofixed the 304 response-with-content-length problem reported by Cory Nelson
Daniel Stenberg [Fri, 8 Apr 2005 16:59:13 +0000 (16:59 +0000)]
fixed the 304 response-with-content-length problem reported by Cory Nelson

19 years agoAdded include for inet_net_pton.h to ares__get_hostent.c
Dominick Meglio [Fri, 8 Apr 2005 16:22:51 +0000 (16:22 +0000)]
Added include for inet_net_pton.h to ares__get_hostent.c

19 years agoMade ares_gethostbyaddr support IPv6 by specifying AF_INET6 as the family
Dominick Meglio [Fri, 8 Apr 2005 15:41:31 +0000 (15:41 +0000)]
Made ares_gethostbyaddr support IPv6 by specifying AF_INET6 as the family

19 years agore-arrange some code to prevent warnings on unreachable code
Daniel Stenberg [Fri, 8 Apr 2005 09:25:48 +0000 (09:25 +0000)]
re-arrange some code to prevent warnings on unreachable code

19 years agoinclude sys/types.h too when checking for headers as otherwise this breaks
Daniel Stenberg [Fri, 8 Apr 2005 08:48:17 +0000 (08:48 +0000)]
include sys/types.h too when checking for headers as otherwise this breaks
on Solaris and FreeBSD. At least.

19 years agoupdated instructions
Marty Kuhrt [Fri, 8 Apr 2005 05:07:04 +0000 (05:07 +0000)]
updated instructions

19 years agofixed control_y trap problem
Marty Kuhrt [Fri, 8 Apr 2005 05:06:31 +0000 (05:06 +0000)]
fixed control_y trap problem

19 years agocast the call to Curl_inet_ntop for DECC compiler squawk
Marty Kuhrt [Fri, 8 Apr 2005 05:01:40 +0000 (05:01 +0000)]
cast the call to Curl_inet_ntop for DECC compiler squawk

19 years agoUnfortunately, if a ca file name is set the function fails for whatever reason
Daniel Stenberg [Thu, 7 Apr 2005 22:47:43 +0000 (22:47 +0000)]
Unfortunately, if a ca file name is set the function fails for whatever reason
(missing file, bad file, etc), gnutls will no longer handshake properly but it
just loops forever. Therefore, we must return error if we get an error when
setting the CA cert file name. This is not the same behaviour as with OpenSSL.

Question/report posted to the help-gnutls mailing list, April 8 2005.

19 years agoone down
Daniel Stenberg [Thu, 7 Apr 2005 22:14:22 +0000 (22:14 +0000)]
one down

19 years agoset LD_LIBRARY_PATH when GnuTLS has been found
Daniel Stenberg [Thu, 7 Apr 2005 22:13:40 +0000 (22:13 +0000)]
set LD_LIBRARY_PATH when GnuTLS has been found

19 years agocut 'n paste error
Daniel Stenberg [Thu, 7 Apr 2005 21:12:09 +0000 (21:12 +0000)]
cut 'n paste error

19 years agoGnuTLS updates
Daniel Stenberg [Thu, 7 Apr 2005 21:10:31 +0000 (21:10 +0000)]
GnuTLS updates

19 years agoGnuTLS!
Daniel Stenberg [Thu, 7 Apr 2005 21:05:45 +0000 (21:05 +0000)]
GnuTLS!

19 years agoadded new files
Daniel Stenberg [Thu, 7 Apr 2005 20:56:04 +0000 (20:56 +0000)]
added new files

19 years agofixed to build after the GnuTLS fixes
Daniel Stenberg [Thu, 7 Apr 2005 20:36:48 +0000 (20:36 +0000)]
fixed to build after the GnuTLS fixes

19 years agoadded some blurb about the GnuTLS license
Daniel Stenberg [Thu, 7 Apr 2005 15:28:56 +0000 (15:28 +0000)]
added some blurb about the GnuTLS license

19 years agoGnuTLS support added. There's now a "generic" SSL layer that we use all over
Daniel Stenberg [Thu, 7 Apr 2005 15:27:13 +0000 (15:27 +0000)]
GnuTLS support added. There's now a "generic" SSL layer that we use all over
internally, with code provided by sslgen.c. All SSL-layer-specific code is
then written in ssluse.c (for OpenSSL) and gtls.c (for GnuTLS).

As far as possible, internals should not need to know what SSL layer that is
in use. Building with GnuTLS currently makes two test cases fail.

TODO.gnutls contains a few known outstanding issues for the GnuTLS support.

GnuTLS support is enabled with configure --with-gnutls

19 years agossl_version_num is not used anymore
Daniel Stenberg [Thu, 7 Apr 2005 15:21:50 +0000 (15:21 +0000)]
ssl_version_num is not used anymore

19 years agossl_version_num won't be used anymore since we will soon offer multiple SSL
Daniel Stenberg [Thu, 7 Apr 2005 15:18:51 +0000 (15:18 +0000)]
ssl_version_num won't be used anymore since we will soon offer multiple SSL
layers and it won't make sense to provide a numerical version for it. I also
doubt that many people have used this for anything critical.

19 years agoAdd support for --with-gnutls. If configure detects OpenSSL, you need to
Daniel Stenberg [Thu, 7 Apr 2005 15:12:03 +0000 (15:12 +0000)]
Add support for --with-gnutls. If configure detects OpenSSL, you need to
to explicitly disable that first with --without-ssl. Initial attempt.

19 years agobail out if perl is missing, it is needed for building curl anyway
Daniel Stenberg [Thu, 7 Apr 2005 14:26:03 +0000 (14:26 +0000)]
bail out if perl is missing, it is needed for building curl anyway

19 years agocheck for libtoolize and aclocal to doublecheck the installations better
Daniel Stenberg [Thu, 7 Apr 2005 08:59:39 +0000 (08:59 +0000)]
check for libtoolize and aclocal to doublecheck the installations better

19 years agoTry harder to see if arpa/nameser_compat.h REALLY is a good header file to
Daniel Stenberg [Thu, 7 Apr 2005 07:38:53 +0000 (07:38 +0000)]
Try harder to see if arpa/nameser_compat.h REALLY is a good header file to
include, as it seems at least some AIX versions don't really allow it to be
include at the same time as the original nameser.h.

19 years agoadd SSPI
Daniel Stenberg [Thu, 7 Apr 2005 07:30:02 +0000 (07:30 +0000)]
add SSPI

19 years agoTupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OS
Daniel Stenberg [Wed, 6 Apr 2005 22:27:42 +0000 (22:27 +0000)]
Tupone Alfredo fixed includes of arpa/nameser_compat.h to build fine on Mac OS
X.

19 years agobetter errno constant replacements, as mentioned by Gisle Vanem
Daniel Stenberg [Wed, 6 Apr 2005 21:14:58 +0000 (21:14 +0000)]
better errno constant replacements, as mentioned by Gisle Vanem

19 years agoInclude inet_net_pton.h for 'struct in6_addr'. Ideally this
Gisle Vanem [Wed, 6 Apr 2005 18:58:33 +0000 (18:58 +0000)]
Include inet_net_pton.h for 'struct in6_addr'. Ideally this
should come from <ws2tcpip.h>, but Winsock 1.1 should
suffice.

19 years agoMoved inet_net_pton.h to HHEADERS.
Gisle Vanem [Wed, 6 Apr 2005 18:55:59 +0000 (18:55 +0000)]
Moved  inet_net_pton.h to HHEADERS.

19 years agocheck for struct sizes and use those sizes if the NS_* defines are lacking
Daniel Stenberg [Wed, 6 Apr 2005 14:11:50 +0000 (14:11 +0000)]
check for struct sizes and use those sizes if the NS_* defines are lacking
(IRIX 6.5.22 it seems)

19 years agomoved the *_inet_pton protos to inet_net_pton.h instead
Daniel Stenberg [Wed, 6 Apr 2005 14:02:37 +0000 (14:02 +0000)]
moved the *_inet_pton protos to inet_net_pton.h instead

19 years agomade the ares_inet_net_pton() proto use size_t size, as the function in the
Daniel Stenberg [Wed, 6 Apr 2005 13:54:02 +0000 (13:54 +0000)]
made the ares_inet_net_pton() proto use size_t size, as the function in the
code uses that

19 years agoRemoved extraneous comma
Dan Fandrich [Wed, 6 Apr 2005 00:39:48 +0000 (00:39 +0000)]
Removed extraneous comma

19 years agotoo late hacking error
Daniel Stenberg [Tue, 5 Apr 2005 21:14:59 +0000 (21:14 +0000)]
too late hacking error

19 years agotest time-conditioned FTP uploads
Daniel Stenberg [Tue, 5 Apr 2005 21:07:27 +0000 (21:07 +0000)]
test time-conditioned FTP uploads

19 years agoChristophe Legry's fix to grok time-conditoned uploads
Daniel Stenberg [Tue, 5 Apr 2005 20:59:12 +0000 (20:59 +0000)]
Christophe Legry's fix to grok time-conditoned uploads

19 years agowith these changes, it builds on my win32 cross-compiler
Daniel Stenberg [Tue, 5 Apr 2005 20:20:14 +0000 (20:20 +0000)]
with these changes, it builds on my win32 cross-compiler

19 years agocheck for another arpa header
Daniel Stenberg [Tue, 5 Apr 2005 20:19:55 +0000 (20:19 +0000)]
check for another arpa header

19 years agocheck for the arpa/* headers
Daniel Stenberg [Tue, 5 Apr 2005 20:08:15 +0000 (20:08 +0000)]
check for the arpa/* headers

19 years agoProvided implementations of inet_net_pton and inet_pton from BIND for systems that...
Dominick Meglio [Tue, 5 Apr 2005 18:26:55 +0000 (18:26 +0000)]
Provided implementations of inet_net_pton and inet_pton from BIND for systems that do not include these functions. These will be necessary for CIDR support and IPv6 support.

19 years ago7.13.3 in progress
Daniel Stenberg [Tue, 5 Apr 2005 15:11:51 +0000 (15:11 +0000)]
7.13.3 in progress

19 years ago5.11 How do I make libcurl not receive the whole HTTP response?
Daniel Stenberg [Tue, 5 Apr 2005 14:38:38 +0000 (14:38 +0000)]
5.11 How do I make libcurl not receive the whole HTTP response?

19 years agotwo more actual FAQs
Daniel Stenberg [Tue, 5 Apr 2005 14:36:37 +0000 (14:36 +0000)]
two more actual FAQs

19 years agorestart with a blank page again
Daniel Stenberg [Tue, 5 Apr 2005 07:55:41 +0000 (07:55 +0000)]
restart with a blank page again

19 years agothe smell of release
Daniel Stenberg [Tue, 5 Apr 2005 07:37:08 +0000 (07:37 +0000)]
the smell of release

19 years agobug report #1156287, ftp upload from VMS
Daniel Stenberg [Tue, 5 Apr 2005 07:33:30 +0000 (07:33 +0000)]
bug report #1156287, ftp upload from VMS

19 years agowin resolve crash, win makefile fix
Daniel Stenberg [Mon, 4 Apr 2005 22:38:53 +0000 (22:38 +0000)]
win resolve crash, win makefile fix

19 years agokill warnings
Daniel Stenberg [Mon, 4 Apr 2005 21:23:04 +0000 (21:23 +0000)]
kill warnings

19 years agoMarcelo Juchem's improvements
Daniel Stenberg [Mon, 4 Apr 2005 13:21:03 +0000 (13:21 +0000)]
Marcelo Juchem's improvements

19 years agohostthre.c: destroy_thread_data() made public. Called
Gisle Vanem [Mon, 4 Apr 2005 12:30:03 +0000 (12:30 +0000)]
hostthre.c: destroy_thread_data() made public. Called
from url.c: Curl_disconnect().

19 years agospell fixes, based on the Debian bug report #302820 submitted by "A Costa"
Daniel Stenberg [Mon, 4 Apr 2005 08:07:04 +0000 (08:07 +0000)]
spell fixes, based on the Debian bug report #302820 submitted by "A Costa"

19 years agofix of tonight
Daniel Stenberg [Sun, 3 Apr 2005 23:01:33 +0000 (23:01 +0000)]
fix of tonight

19 years agoHardeep Singh reported a problem doing HTTP POST with Digest. (It was actually
Daniel Stenberg [Sun, 3 Apr 2005 22:46:25 +0000 (22:46 +0000)]
Hardeep Singh reported a problem doing HTTP POST with Digest. (It was actually
also affecting NTLM and Negotiate.) It turned out that if the server responded
with 100 Continue before the initial 401 response, libcurl didn't take care of
the response properly. Test case 245 and 246 added to verify this.

19 years agoTest 245 was just added in an attempt to repeat Hardeep Singh's recent bug.
Daniel Stenberg [Sun, 3 Apr 2005 22:18:27 +0000 (22:18 +0000)]
Test 245 was just added in an attempt to repeat Hardeep Singh's recent bug.
But this works just fine on my host. Plain HTTP POST using Digest.

19 years agofixed bad comment, pointed out by Marcelo Juchem
Daniel Stenberg [Thu, 31 Mar 2005 20:34:24 +0000 (20:34 +0000)]
fixed bad comment, pointed out by Marcelo Juchem

19 years agocopyright this year
Daniel Stenberg [Thu, 31 Mar 2005 14:42:28 +0000 (14:42 +0000)]
copyright this year

19 years agoAttempt to make this code more forgiving for systems that doesn't detect
Daniel Stenberg [Thu, 31 Mar 2005 14:10:54 +0000 (14:10 +0000)]
Attempt to make this code more forgiving for systems that doesn't detect
the failed connect "immediately".

19 years agoUpdated the copyright year since changes have been this year.
Daniel Stenberg [Thu, 31 Mar 2005 07:02:02 +0000 (07:02 +0000)]
Updated the copyright year since changes have been this year.

19 years agothe cookie API is better and more likely to happen in a separate release
Daniel Stenberg [Thu, 31 Mar 2005 06:55:17 +0000 (06:55 +0000)]
the cookie API is better and more likely to happen in a separate release

19 years agofix configure's SSL-detection for msys/mingw (from Andres Garcia)
Daniel Stenberg [Wed, 30 Mar 2005 20:55:44 +0000 (20:55 +0000)]
fix configure's SSL-detection for msys/mingw (from Andres Garcia)

19 years agoformat mistake in --form-string, pointed out by Owen Watson
Daniel Stenberg [Wed, 30 Mar 2005 06:31:32 +0000 (06:31 +0000)]
format mistake in --form-string, pointed out by Owen Watson

19 years agoBetter connection keep-alive when POSTing with HTTP Digest or Negotiate.
Daniel Stenberg [Tue, 29 Mar 2005 21:08:57 +0000 (21:08 +0000)]
Better connection keep-alive when POSTing with HTTP Digest or Negotiate.

19 years agoDon't close the connection if we're in a known negotiation mode and we won't
Daniel Stenberg [Tue, 29 Mar 2005 12:28:25 +0000 (12:28 +0000)]
Don't close the connection if we're in a known negotiation mode and we won't
send any data anyway. Probably the bug Tom Moers noticed.

19 years agoproxy multi auth fix, --proxy-anyauth, ftp-ssl and ftp response reading fix
Daniel Stenberg [Tue, 29 Mar 2005 11:54:07 +0000 (11:54 +0000)]
proxy multi auth fix, --proxy-anyauth, ftp-ssl and ftp response reading fix

19 years agopostpone these
Daniel Stenberg [Tue, 29 Mar 2005 11:53:22 +0000 (11:53 +0000)]
postpone these

19 years agoWhen doing FTP-SSL, advance to the next state properly when the response to
Daniel Stenberg [Tue, 29 Mar 2005 11:43:02 +0000 (11:43 +0000)]
When doing FTP-SSL, advance to the next state properly when the response to
AUTH has been received successfully.

19 years agoFixed the FTP response reader function to properly deal with responses split
Daniel Stenberg [Tue, 29 Mar 2005 11:35:25 +0000 (11:35 +0000)]
Fixed the FTP response reader function to properly deal with responses split
up in several chunks when read.

19 years agoMade the server send data to the control/data connections using two dedicated
Daniel Stenberg [Tue, 29 Mar 2005 09:09:58 +0000 (09:09 +0000)]
Made the server send data to the control/data connections using two dedicated
functions. This enabled me to add a function that automatically delays between
each byte, to proper test curl's ability to read FTP server responses sent in
many (small) chunks. See also upcoming libcurl fixes...

19 years agoBased on Augustus Saunders' comments and findings, the HTTP output auth
Daniel Stenberg [Mon, 28 Mar 2005 22:19:31 +0000 (22:19 +0000)]
Based on Augustus Saunders' comments and findings, the HTTP output auth
function was fixed to use the proper proxy authentication when multiple ones
were added as accepted. test 239 and test 243 were added to repeat the
problems and verify the fixes.

19 years agoAdded --proxy-anyauth
Daniel Stenberg [Mon, 28 Mar 2005 22:17:49 +0000 (22:17 +0000)]
Added --proxy-anyauth

19 years agomodified some log outputs, added comment about auth required as used in
Daniel Stenberg [Mon, 28 Mar 2005 22:15:17 +0000 (22:15 +0000)]
modified some log outputs, added comment about auth required as used in
test 154

19 years agocan you spell copy and paste error for me loud and clear? ;-P
Daniel Stenberg [Tue, 22 Mar 2005 19:58:00 +0000 (19:58 +0000)]
can you spell copy and paste error for me loud and clear? ;-P

19 years agoprovide HTML and PDF versions of the man pages in the dist archive
Daniel Stenberg [Tue, 22 Mar 2005 19:46:49 +0000 (19:46 +0000)]
provide HTML and PDF versions of the man pages in the dist archive

19 years agoWhen cross-compiling, we do some better checking for the NI_WITHSCOPEID option instea...
Daniel Stenberg [Tue, 22 Mar 2005 18:02:06 +0000 (18:02 +0000)]
When cross-compiling, we do some better checking for the NI_WITHSCOPEID option instead of just assuming it is present.

19 years agoCURL_EXTERN is already in <curl/curl.h>.
Gisle Vanem [Tue, 22 Mar 2005 10:37:26 +0000 (10:37 +0000)]
CURL_EXTERN is already in <curl/curl.h>.

19 years agoPrevent redefinition warning with CURLDEBUG.
Gisle Vanem [Tue, 22 Mar 2005 10:36:20 +0000 (10:36 +0000)]
Prevent redefinition warning with CURLDEBUG.

19 years agomoved out the changes from 2004 to CHANGES.2004
Daniel Stenberg [Tue, 22 Mar 2005 09:23:56 +0000 (09:23 +0000)]
moved out the changes from 2004 to CHANGES.2004

19 years agoFixed typo.
Dan Fandrich [Tue, 22 Mar 2005 01:24:27 +0000 (01:24 +0000)]
Fixed typo.

19 years agothe same fix here too, typecast to prevent win32 compiler warning
Daniel Stenberg [Mon, 21 Mar 2005 22:38:45 +0000 (22:38 +0000)]
the same fix here too, typecast to prevent win32 compiler warning

19 years agotypecase to fix win32 compiler warning (and intended as other code is)
Daniel Stenberg [Mon, 21 Mar 2005 22:37:18 +0000 (22:37 +0000)]
typecase to fix win32 compiler warning (and intended as other code is)

19 years agoModified the VALID_SOCK() macro to become VERIFY_SOCK() instead. It is slighly
Daniel Stenberg [Mon, 21 Mar 2005 22:34:07 +0000 (22:34 +0000)]
Modified the VALID_SOCK() macro to become VERIFY_SOCK() instead. It is slighly
more involved, but should hopefully not generate any compiler warnings on
win32 systems (that can't check the socket based on the numeric).

19 years agoMake NTLM tests depend on the NTLM feature at not SSL, since the NTLM support
Daniel Stenberg [Mon, 21 Mar 2005 08:14:32 +0000 (08:14 +0000)]
Make NTLM tests depend on the NTLM feature at not SSL, since the NTLM support
is no longer only present when built with SSL support.