Daniel Stenberg [Mon, 2 Feb 2009 21:20:59 +0000 (21:20 +0000)]
minor comment fix
Daniel Stenberg [Mon, 2 Feb 2009 16:19:23 +0000 (16:19 +0000)]
- Craig A West brought us: libcurl now defaults to do CONNECT with HTTP
version 1.1 instead of 1.0 like before. This change also introduces the new
proxy type for libcurl called 'CURLPROXY_HTTP_1_0' that then allows apps to
switch (back) to CONNECT 1.0 requests. The curl tool also got a --proxy1.0
option that works exactly like --proxy but sets CURLPROXY_HTTP_1_0.
I updated all test cases cases that use CONNECT and I tried to do some using
--proxy1.0 and some updated to do CONNECT 1.1 to get both versions run.
Daniel Stenberg [Sat, 31 Jan 2009 20:25:55 +0000 (20:25 +0000)]
- When building with c-ares 1.6.1 (not yet released) or later and IPv6 support
enabled, we can now take advantage of its brand new AF_UNSPEC support in
ares_gethostbyname(). This makes test case 241 finally run fine for me wtih
this setup since it now parses the "::1 ip6-localhost" line fine in my
/etc/hosts file!
Daniel Stenberg [Sat, 31 Jan 2009 20:17:41 +0000 (20:17 +0000)]
- ares_gethostbyname() now accepts 'AF_UNSPEC' as a family for resolving
either AF_INET6 or AF_INET. It works by accepting any of the looksups in the
hosts file, and it resolves the AAAA field with a fallback to A.
Daniel Stenberg [Sat, 31 Jan 2009 18:38:41 +0000 (18:38 +0000)]
- Scott Cantor filed bug report #2550061
(http://curl.haxx.se/bug/view.cgi?id=2550061) mentioning that I failed to
properly make sure that the VC9 makefiles got included in the latest
release. I've now fixed the release script and verified it so next release
will hopefully include them properly!
Daniel Stenberg [Fri, 30 Jan 2009 22:32:13 +0000 (22:32 +0000)]
Truly make sure that the vc8 and vc9 makefiles that are generated get included
in the release archive - by using our .dist suffix trick.
Dan Fandrich [Fri, 30 Jan 2009 19:29:25 +0000 (19:29 +0000)]
Fixed --disable-proxy for FTP and SOCKS. Thanks to Daniel Egger for reporting
the problem.
Dan Fandrich [Fri, 30 Jan 2009 18:28:29 +0000 (18:28 +0000)]
Mentioned some other characters that may need escaping on the curl command
line and fixed a few typos.
Yang Tse [Fri, 30 Jan 2009 02:35:40 +0000 (02:35 +0000)]
ensure that we use the ANSI version functions
Yang Tse [Fri, 30 Jan 2009 01:54:22 +0000 (01:54 +0000)]
fix typo in comment
Yang Tse [Fri, 30 Jan 2009 01:37:37 +0000 (01:37 +0000)]
Provide another definition missing in MinGW's headers
Yang Tse [Thu, 29 Jan 2009 21:44:36 +0000 (21:44 +0000)]
Provide some definitions missing in MinGW's headers
Yang Tse [Thu, 29 Jan 2009 20:32:27 +0000 (20:32 +0000)]
Introduced curl_sspi.c and curl_sspi.h for the implementation of functions
Curl_sspi_global_init() and Curl_sspi_global_cleanup() which previously were
named Curl_ntlm_global_init() and Curl_ntlm_global_cleanup() in http_ntlm.c
Also adjusted socks_sspi.c to remove the link-time dependency on the Windows
SSPI library using it now in the same way as it was done in http_ntlm.c.
Yang Tse [Thu, 29 Jan 2009 15:25:23 +0000 (15:25 +0000)]
added some more messages to SSPI error function
Yang Tse [Thu, 29 Jan 2009 14:00:18 +0000 (14:00 +0000)]
Avoid inclusion of ntsecapi.h and directly provide the KERB_WRAP_NO_ENCRYPT
definition to avoid a 'STRING' duplicate definition from OpenSSL's safestack.h
Yang Tse [Thu, 29 Jan 2009 03:39:10 +0000 (03:39 +0000)]
fix compiler warnings
Daniel Stenberg [Wed, 28 Jan 2009 21:33:58 +0000 (21:33 +0000)]
- Markus Moeller introduced two new options to libcurl:
CURLOPT_SOCKS5_GSSAPI_SERVICE and CURLOPT_SOCKS5_GSSAPI_NEC to allow libcurl
to do GSS-style authentication with SOCKS5 proxies. The curl tool got the
options called --socks5-gssapi-service and --socks5-gssapi-nec to enable
these.
Yang Tse [Wed, 28 Jan 2009 17:43:11 +0000 (17:43 +0000)]
fix compiler warning: conversion from 'int' to 'bool', possible loss of data
Yang Tse [Wed, 28 Jan 2009 17:26:26 +0000 (17:26 +0000)]
fix compiler warning: enumerated type mixed with another type
Daniel Stenberg [Mon, 26 Jan 2009 22:43:06 +0000 (22:43 +0000)]
- Chad Monroe provided the new CURLOPT_TFTP_BLKSIZE option that allows an app
to set desired block size to use for TFTP transfers instead of the default
512 bytes.
Daniel Stenberg [Mon, 26 Jan 2009 14:37:29 +0000 (14:37 +0000)]
wrap line at col 80
Daniel Stenberg [Mon, 26 Jan 2009 14:36:18 +0000 (14:36 +0000)]
- The "-no_ticket" option was introduced in Openssl0.9.8j. It's a flag to
disable "rfc4507bis session ticket support". rfc4507bis was later turned
into the proper RFC5077 it seems: http://tools.ietf.org/html/rfc5077
The enabled extension concerns the session management. I wonder how often
libcurl stops a connection and then resumes a TLS session. also, sending the
session data is some overhead. .I suggest that you just use your proposed
patch (which explicitly disables TICKET).
If someone writes an application with libcurl and openssl who wants to
enable the feature, one can do this in the SSL callback.
Sharad Gupta brought this to my attention. Peter Sylvester helped me decide
on the proper action.
Daniel Stenberg [Mon, 26 Jan 2009 13:19:03 +0000 (13:19 +0000)]
- Alexey Borzov filed bug report #2535504
(http://curl.haxx.se/bug/view.cgi?id=2535504) pointing out that realms with
quoted quotation marks in HTTP Digest headers didn't work. I've now added
test case 1095 that verifies my fix.
Gunter Knauf [Mon, 26 Jan 2009 07:33:29 +0000 (07:33 +0000)]
added CURLX_ONES again to object list for dynamic linking.
Daniel Stenberg [Sun, 25 Jan 2009 23:26:25 +0000 (23:26 +0000)]
- Craig A West brought CURLOPT_NOPROXY and the corresponding --noproxy option.
They basically offer the same thing the NO_PROXY environment variable only
offered previously: list a set of host names that shall not use the proxy
even if one is specified.
Dan Fandrich [Wed, 21 Jan 2009 04:46:13 +0000 (04:46 +0000)]
Improved the title and keywords
Dan Fandrich [Wed, 21 Jan 2009 04:42:47 +0000 (04:42 +0000)]
Fixed a couple more locale-dependent toupper conversions, mainly for
clarity. This does fix one problem that causes ;type=i FTP URLs
to fail in the Turkish locale when CURLOPT_PROXY_TRANSFER_MODE is
used (test case 561)
Added tests 561 and 1092 through 1094 to test various combinations
of ;type= and ;mode= URLs that could potentially fail in the Turkish
locale.
Dan Fandrich [Wed, 21 Jan 2009 04:30:05 +0000 (04:30 +0000)]
Call setlocale() for libtest tests to test the effects of locale-induced
libc changes on libcurl.
Daniel Stenberg [Tue, 20 Jan 2009 06:24:25 +0000 (06:24 +0000)]
- Lisa Xu pointed out that the ssh.obj file was missing from the lib/Makefile.vc6
file (and thus from the vc8 and vc9 ones too).
Daniel Stenberg [Mon, 19 Jan 2009 19:09:39 +0000 (19:09 +0000)]
fix typo in comment that made it confusing
Daniel Stenberg [Mon, 19 Jan 2009 11:50:31 +0000 (11:50 +0000)]
7.19.3 is out now
Daniel Stenberg [Mon, 19 Jan 2009 10:25:47 +0000 (10:25 +0000)]
700 friendly contributors after the new ones in 7.19.3 were added
Daniel Stenberg [Mon, 19 Jan 2009 10:24:19 +0000 (10:24 +0000)]
17 new contributors from the 7.19.3 release
Daniel Stenberg [Mon, 19 Jan 2009 10:11:25 +0000 (10:11 +0000)]
start over on our journey towards 7.19.4...
Daniel Stenberg [Mon, 19 Jan 2009 09:59:20 +0000 (09:59 +0000)]
time to release
Gisle Vanem [Sun, 18 Jan 2009 17:03:31 +0000 (17:03 +0000)]
fopen() returns error in 'errno' even on Windows.
So don't use ERRNO (GetLastError()). Trimmed trailing
blanks.
Gisle Vanem [Sun, 18 Jan 2009 16:33:10 +0000 (16:33 +0000)]
Constified some arguments in local functions.
Gunter Knauf [Sat, 17 Jan 2009 14:56:33 +0000 (14:56 +0000)]
fixed global copyright.
Daniel Stenberg [Fri, 16 Jan 2009 08:36:40 +0000 (08:36 +0000)]
- Andrew de los Reyes fixed curlbuild.h for "generic" gcc builds on PPC, both
32 bit and 64 bit.
Dan Fandrich [Thu, 15 Jan 2009 08:49:22 +0000 (08:49 +0000)]
Add steps needed for zlib support under Minix
Daniel Stenberg [Thu, 15 Jan 2009 08:32:58 +0000 (08:32 +0000)]
- Tim Ansell fixed a compiler warning in lib/cookie.c
Daniel Stenberg [Wed, 14 Jan 2009 22:52:18 +0000 (22:52 +0000)]
a bunch of minor updates
Daniel Stenberg [Wed, 14 Jan 2009 13:08:50 +0000 (13:08 +0000)]
- ares.h no longer uses the HAVE_STRUCT_IN6_ADDR define check, but instead it
now declares the private struct ares_in6_addr for all systems instead of
relying on one possibly not present in the system.
Daniel Stenberg [Tue, 13 Jan 2009 23:45:24 +0000 (23:45 +0000)]
213 - bug #2501457 "Timeouts not working with curl_multi_socket_action()" -
now put in KNOWN_BUGS as entry #62
Daniel Stenberg [Tue, 13 Jan 2009 23:43:23 +0000 (23:43 +0000)]
62. CURLOPT_TIMEOUT does not work properly with the regular multi and
multi_socket interfaces. The work-around for apps is to simply remove the
easy handle once the time is up. See also:
http://curl.haxx.se/bug/view.cgi?id=2501457
Daniel Stenberg [Tue, 13 Jan 2009 23:29:56 +0000 (23:29 +0000)]
Karl Moerder removed wsock32.lib from the vc9 makefiles
Daniel Stenberg [Tue, 13 Jan 2009 23:24:06 +0000 (23:24 +0000)]
Grant Erickson fixed timeouts for TFTP
Daniel Stenberg [Tue, 13 Jan 2009 22:21:14 +0000 (22:21 +0000)]
- Michael Wallner fixed a NULL pointer deref when calling
curl_easy_setup(curl, CURLOPT_COOKIELIST, "SESS") on a CURL handle with no
cookies data.
Daniel Stenberg [Tue, 13 Jan 2009 22:05:48 +0000 (22:05 +0000)]
Stefan Teleman's curlbuild.h fix for SunPro compilers
Daniel Stenberg [Tue, 13 Jan 2009 22:04:43 +0000 (22:04 +0000)]
oops, the previous wasn't meant to get committed but since I did it I thought
I'd just as well enumerate the remainder and commit a "proper" looking one
Daniel Stenberg [Tue, 13 Jan 2009 22:01:39 +0000 (22:01 +0000)]
- Stefan Teleman brought a patch to fix the default curlbuild.h file for the
SunPro compilers.
Phil Blundell [Tue, 13 Jan 2009 11:51:04 +0000 (11:51 +0000)]
- ares__send_query() now varies the retry timeout pseudo-randomly to avoid
packet storms when several queries were started at the same time.
Daniel Stenberg [Tue, 13 Jan 2009 06:44:03 +0000 (06:44 +0000)]
spell-checked a bunch of comments
Daniel Stenberg [Mon, 12 Jan 2009 21:29:23 +0000 (21:29 +0000)]
make this example not only replace an internal header but also add a totally
new and non-standard one
Daniel Stenberg [Mon, 12 Jan 2009 21:22:51 +0000 (21:22 +0000)]
Mohun Biswas clarified
Daniel Stenberg [Sun, 11 Jan 2009 23:48:20 +0000 (23:48 +0000)]
bump year
Daniel Stenberg [Sun, 11 Jan 2009 23:47:01 +0000 (23:47 +0000)]
changed the wording to possibly make some sense
Daniel Stenberg [Sun, 11 Jan 2009 23:41:50 +0000 (23:41 +0000)]
- Based on bug report #2498665 (curl.haxx.se/bug/view.cgi?id=2498665)
by Daniel Black, I've now added magic to the configure script that makes it
use pkg-config to detect gnutls details as well if the existing method
(using libgnutls-config) fails. While doing this, I cleaned up and unified
the pkg-config usage when detecting openssl and nss as well.
Daniel Stenberg [Sun, 11 Jan 2009 22:05:38 +0000 (22:05 +0000)]
credit Karl Moerder properly
Daniel Stenberg [Sun, 11 Jan 2009 13:49:13 +0000 (13:49 +0000)]
- Phil Blundell added the internal function ares__expand_name_for_response()
that is now used by the ares_parse_*_reply() functions instead of the
ares_expand_name() simply to easier return ARES_EBADRESP for the cases where
the name expansion fails as in responses that really isn't expected.
Daniel Stenberg [Sun, 11 Jan 2009 13:34:05 +0000 (13:34 +0000)]
- Karl M brought the patch that creates vc9 Makefiles, and I made 'maketgz'
now use the actual makefile targets to do the VC8 and VC9 makefiles.
Daniel Stenberg [Sat, 10 Jan 2009 22:10:57 +0000 (22:10 +0000)]
- Emil Romanus fixed:
When using the multi interface over HTTP and the server returns a Location
header, the running easy handle will get stuck in the CURLM_STATE_PERFORM
state, leaving the external event loop stuck waiting for data from the
ingoing socket (when using the curl_multi_socket_action stuff). While this
bug was pretty hard to find, it seems to require only a one-line fix. The
break statement on line 1374 in multi.c caused the function to skip the call
to multistate().
How to reproduce this bug? Well, that's another question. evhiperfifo.c in
the examples directory chokes on this bug only _sometimes_, probably
depending on how fast the URLs are added. One way of testing the bug out is
writing to hiper.fifo from more than one source at the same time.
Daniel Stenberg [Thu, 8 Jan 2009 22:53:37 +0000 (22:53 +0000)]
Only care about the first line of libtool --version as otherwise this script
get fooled by libtool 2, and at least libtool 1.5.2x do output the interesting
version string in the first line.
Daniel Stenberg [Thu, 8 Jan 2009 10:32:54 +0000 (10:32 +0000)]
"204 - Rob C's NSS fix" is done and since we enter feature freeze now I moved
the remaining three issues to next release since they are about new things and
not just fixing bugs
Dan Fandrich [Thu, 8 Jan 2009 01:09:29 +0000 (01:09 +0000)]
Added a few more issues
Dan Fandrich [Thu, 8 Jan 2009 00:31:49 +0000 (00:31 +0000)]
Unified much of the SessionHandle initialization done in Curl_open() and
curl_easy_reset() by creating Curl_init_userdefined(). This had the side effect
of fixing curl_easy_reset() so it now also resets CURLOPT_FTP_FILEMETHOD and
CURLOPT_SSL_SESSIONID_CACHE
Dan Fandrich [Wed, 7 Jan 2009 21:57:26 +0000 (21:57 +0000)]
Always use nocheck="yes" for consistency
Dan Fandrich [Wed, 7 Jan 2009 19:39:35 +0000 (19:39 +0000)]
Created a CURLMIN macro to match CURLMAX
Daniel Stenberg [Wed, 7 Jan 2009 14:12:01 +0000 (14:12 +0000)]
fix compiler warnings
Daniel Stenberg [Wed, 7 Jan 2009 14:10:35 +0000 (14:10 +0000)]
- Rob Crittenden did once again provide an NSS update:
I have to jump through a few hoops now with the NSS library initialization
since another part of an application may have already initialized NSS by the
time Curl gets invoked. This patch is more careful to only shutdown the NSS
library if Curl did the initialization.
It also adds in a bit of code to set the default ciphers if the app that
call NSS_Init* did not call NSS_SetDomesticPolicy() or set specific
ciphers. One might argue that this lets other application developers get
lazy and/or they aren't using the NSS API correctly, and you'd be right.
But still, this will avoid terribly difficult-to-trace crashes and is
generally helpful.
Daniel Stenberg [Tue, 6 Jan 2009 22:30:40 +0000 (22:30 +0000)]
four fresh items to deal with!
Daniel Stenberg [Thu, 1 Jan 2009 20:50:59 +0000 (20:50 +0000)]
- 'reconf' is removed since we rather have users use 'buildconf'
Daniel Stenberg [Wed, 31 Dec 2008 20:36:08 +0000 (20:36 +0000)]
credit Bas
Daniel Stenberg [Wed, 31 Dec 2008 20:35:46 +0000 (20:35 +0000)]
- Bas Mevissen reported curl.haxx.se/bug/view.cgi?id=2479030 pointing
out that 'reconf' didn't properly point out the m4 subdirectory when running
aclocal.
Gunter Knauf [Tue, 30 Dec 2008 15:33:09 +0000 (15:33 +0000)]
sync'd address with other tests.
Gunter Knauf [Tue, 30 Dec 2008 09:16:38 +0000 (09:16 +0000)]
trial with an address which has a valid domain part but invalid host to avoid dns redirections.
Gunter Knauf [Tue, 30 Dec 2008 08:16:24 +0000 (08:16 +0000)]
added HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID to ares Makefile.netware and sync'd with other Makefile.netware.
Gunter Knauf [Tue, 30 Dec 2008 08:05:38 +0000 (08:05 +0000)]
changed HAVE_SIN6_SCOPE_ID define to HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID since just found that ares already uses this define.
Gunter Knauf [Tue, 30 Dec 2008 07:31:04 +0000 (07:31 +0000)]
added HAVE_SIN6_SCOPE_ID define to all non-configure platforms which seem to be IPv6-aware.
Daniel Stenberg [Mon, 29 Dec 2008 22:25:50 +0000 (22:25 +0000)]
- Phil Lisiecki filed bug report #2413067
(http://curl.haxx.se/bug/view.cgi?id=2413067) that identified a problem that
would cause libcurl to mark a DNS cache entry "in use" eternally if the
subsequence TCP connect failed. It would thus never get pruned and refreshed
as it should've been.
Daniel Stenberg [Mon, 29 Dec 2008 21:26:11 +0000 (21:26 +0000)]
further clarifcation based on input from Anthony Bryan
Daniel Stenberg [Sun, 28 Dec 2008 22:00:36 +0000 (22:00 +0000)]
- Peter Korsgaard fixed building libcurl with "configure --with-ssl
--disable-verbose".
Daniel Stenberg [Sun, 28 Dec 2008 21:56:56 +0000 (21:56 +0000)]
Anthony Bryan's man page cleanup in language and spelling
Daniel Stenberg [Sun, 28 Dec 2008 21:43:34 +0000 (21:43 +0000)]
Anthony Bryan reported quirks, I updated
Daniel Stenberg [Sun, 28 Dec 2008 21:35:53 +0000 (21:35 +0000)]
Anthony Bryan reported and I corrected two typos.
Daniel Stenberg [Sun, 28 Dec 2008 21:31:55 +0000 (21:31 +0000)]
The CURLOPT_KRBLEVEL description wasn't properly formatted and thus was
corrupted in ouputs. Another report from Anthony Bryan.
Daniel Stenberg [Sun, 28 Dec 2008 21:29:13 +0000 (21:29 +0000)]
Anthony Bryan reported this outputs wrong in the PDF and I've now tried to
escape these letters what I think is the correct way.
Gunter Knauf [Sun, 28 Dec 2008 05:49:39 +0000 (05:49 +0000)]
silent 'unused' warnings.
Daniel Stenberg [Sat, 27 Dec 2008 23:25:31 +0000 (23:25 +0000)]
libssh2 0.19 became 1.0 instead
Gunter Knauf [Sat, 27 Dec 2008 04:30:36 +0000 (04:30 +0000)]
added check for sin6_scope_id member in struct sockaddr_in6.
Daniel Stenberg [Thu, 25 Dec 2008 15:09:18 +0000 (15:09 +0000)]
193 removed, no work has been started on this and I personally don't care that
much about it
Gisle Vanem [Mon, 22 Dec 2008 18:46:12 +0000 (18:46 +0000)]
Remove trailing #undef value. Typo?
Daniel Stenberg [Mon, 22 Dec 2008 13:21:23 +0000 (13:21 +0000)]
libssh2_sftp_seek2 was just renamed to libssh2_sftp_seek64 ...
Daniel Stenberg [Mon, 22 Dec 2008 13:12:36 +0000 (13:12 +0000)]
- Given a recent enough libssh2, libcurl can now seek/resume with SFTP even
on file indexes beyond 2 or 4GB.
Daniel Stenberg [Mon, 22 Dec 2008 13:07:13 +0000 (13:07 +0000)]
- Anthony Bryan provided a set of patches that cleaned up manual language,
corrected spellings and more.
Daniel Stenberg [Sat, 20 Dec 2008 22:51:57 +0000 (22:51 +0000)]
malloc+memset => calloc
Daniel Stenberg [Sat, 20 Dec 2008 22:47:49 +0000 (22:47 +0000)]
same procedure, simpler code
Daniel Stenberg [Sat, 20 Dec 2008 22:10:42 +0000 (22:10 +0000)]
197 - IIS-bug in Digest
The curl tool parts are postponed to a later time
201 - "bug: header data output to the body callback function after set header"
Was probably not a bug, I asked about it but I didn't get any response.
202 - "hangs up of application above libcurl" - problems with the multi_socket
Fixes from Igor have been committed and there's currently no pending ones.
Daniel Stenberg [Sat, 20 Dec 2008 22:03:22 +0000 (22:03 +0000)]
- Igor Novoseltsev fixed a bad situation for the multi_socket() API when doing
pipelining, as libcurl could then easily get confused and A) work on the
handle that was not "first in queue" on a pipeline, or even B) tell the app
to REMOVE a socket while it was in use by a second handle in a pipeline. Both
errors caused hanging or stalling applications.
Daniel Stenberg [Sat, 20 Dec 2008 21:48:34 +0000 (21:48 +0000)]
make the debug/helper function output to stderr as that makes it play nicer
in combination with infof() calls