Daniel Stenberg [Thu, 19 Feb 2009 10:36:20 +0000 (10:36 +0000)]
- Patrik Thunstrom reported a problem and helped me repeat it. It turned out
libcurl did a superfluous 1000ms wait when doing SFTP downloads!
We read data with libssh2 while doing the "DO" operation for SFTP and then
when we were about to start getting data for the actual file part, the
"TRANSFER" part, we waited for socket action (in 1000ms) before doing a
libssh2-read. But in this case libssh2 had already read and buffered the
data so we ended up always just waiting 1000ms before we get working on the
data!
Daniel Stenberg [Wed, 18 Feb 2009 19:31:55 +0000 (19:31 +0000)]
spell-fixed comments and other minor non-code edits
Patrick Monnerat [Wed, 18 Feb 2009 11:40:16 +0000 (11:40 +0000)]
FTP downloads (i.e.: RETR) ending with code 550 now return error CURLE_REMOTE_FILE_NOT_FOUND instead of CURLE_FTP_COULDNT_RETR_FILE.
Patrick Monnerat [Tue, 17 Feb 2009 16:16:07 +0000 (16:16 +0000)]
Continue sync work on OS400 specific code and RPG binding.
Daniel Stenberg [Tue, 17 Feb 2009 12:18:34 +0000 (12:18 +0000)]
- Kamil Dudka made NSS-powered builds compile and run again!
Daniel Stenberg [Tue, 17 Feb 2009 12:14:41 +0000 (12:14 +0000)]
- A second follow-up change by Andre Guibert de Bruet to fix a related memory
leak like that fixed on the 14th. When zlib returns failure, we need to
cleanup properly before returning error.
Daniel Stenberg [Tue, 17 Feb 2009 09:43:27 +0000 (09:43 +0000)]
three new CURLFTP_CREATE_DIR* symbols
Daniel Stenberg [Tue, 17 Feb 2009 09:07:25 +0000 (09:07 +0000)]
- CURLOPT_FTP_CREATE_MISSING_DIRS can now be set to 2 in addition to 1 for
plain FTP connections, and it will then allow MKD to fail once and retry the
CWD afterwards. This is especially useful if you're doing many simultanoes
connections against the same server and they all have this option enabled,
as then CWD may first fail but then another connection does MKD before this
connection and thus MKD fails but trying CWD works! The numbers can
(should?) now be set with the convenience enums now called
CURLFTP_CREATE_DIR and CURLFTP_CREATE_DIR_RETRY.
Tests has proven that if you're making an application that uploads a set of
files to an ftp server, you will get a noticable gain in speed if you're
using multiple connections and this option will be then be very useful.
Patrick Monnerat [Mon, 16 Feb 2009 15:33:17 +0000 (15:33 +0000)]
Preparation of imminent release: synchronizing OS400 wrappers + RPG binding to current state.
Gisle Vanem [Sat, 14 Feb 2009 13:43:18 +0000 (13:43 +0000)]
In MSVC9 'time_t' is a 64-bit quantity. This causes a truncation warning
when an 'int' is assigned to a 'time_t' variable. Hence redefine 'retry_time'
and 'retry_max' to 'time_t'.
Daniel Stenberg [Sat, 14 Feb 2009 09:12:55 +0000 (09:12 +0000)]
nah, use the simpler year - year range syntax only, no matter what emacs'
copyright-update script thinks
Daniel Stenberg [Sat, 14 Feb 2009 09:09:09 +0000 (09:09 +0000)]
- Andre Guibert de Bruet found and fixed a memory leak in the content encoding
code, which could happen on libz errors.
Daniel Stenberg [Fri, 13 Feb 2009 14:34:07 +0000 (14:34 +0000)]
there is nothing left planned for next release, metalink experiments are post-
poned
Daniel Stenberg [Fri, 13 Feb 2009 09:12:52 +0000 (09:12 +0000)]
Anthony Bryan's letter=>symbol fixes
Yang Tse [Fri, 13 Feb 2009 06:34:44 +0000 (06:34 +0000)]
ignore
Yang Tse [Fri, 13 Feb 2009 06:25:35 +0000 (06:25 +0000)]
Remove following files generated on previous buildconf run:
ltoptions.m4 ltsugar.m4 ltversion.m4 lt~obsolete.m4
Yang Tse [Fri, 13 Feb 2009 05:49:58 +0000 (05:49 +0000)]
check for poll() as it is done for other functions
Dan Fandrich [Thu, 12 Feb 2009 23:57:17 +0000 (23:57 +0000)]
Fixed NTLM on curl-config --features with GnuTLS
Dan Fandrich [Thu, 12 Feb 2009 20:48:40 +0000 (20:48 +0000)]
Added support for Digest and NTLM authentication using GnuTLS.
Daniel Stenberg [Thu, 12 Feb 2009 08:05:23 +0000 (08:05 +0000)]
credit Jocelyn Jaubert for his bug report and associated work
Daniel Stenberg [Wed, 11 Feb 2009 21:47:14 +0000 (21:47 +0000)]
- CURLINFO_CONDITION_UNMET was added to allow an application to get to know if
the condition in the previous request was unmet. This is typically a time
condition set with CURLOPT_TIMECONDITION and was previously not possible to
reliably figure out. From bug report #2565128
(http://curl.haxx.se/bug/view.cgi?id=2565128)
Daniel Stenberg [Tue, 10 Feb 2009 13:06:25 +0000 (13:06 +0000)]
Added docs/libcurl/symbols-in-versions
Daniel Stenberg [Tue, 10 Feb 2009 12:52:09 +0000 (12:52 +0000)]
completed the CURLPROXY_ collection
Daniel Stenberg [Tue, 10 Feb 2009 12:39:26 +0000 (12:39 +0000)]
include the symbols-in-versions file in the release archive
Daniel Stenberg [Tue, 10 Feb 2009 12:34:41 +0000 (12:34 +0000)]
remove a trailing name from a comment
Daniel Stenberg [Tue, 10 Feb 2009 12:33:10 +0000 (12:33 +0000)]
introducing the symbols-in-versions file, in an effort to help app authors
to better know and track symbols in earlier libcurl versions
Daniel Stenberg [Tue, 10 Feb 2009 12:32:12 +0000 (12:32 +0000)]
mention when CURLOPT_ADDRESS_SCOPE was added
Daniel Stenberg [Mon, 9 Feb 2009 16:09:45 +0000 (16:09 +0000)]
#45. libcurl built to support ipv6 uses getaddrinfo() to resolve host names.
getaddrinfo() sorts the response list
This isn't a libcurl bug since this is how getaddrinfo() is *supposed* to work!
Apparently you deal with this using the /etc/gai.conf file.
Daniel Stenberg [Mon, 9 Feb 2009 16:08:08 +0000 (16:08 +0000)]
#53. SFTP busy-loop problem. should be fixed in 7.19.3 with libssh2 1.0 (or
later)
Daniel Stenberg [Sat, 7 Feb 2009 22:53:37 +0000 (22:53 +0000)]
Moved Curl_strntoupper() to the rawstr.c file where the other raw string
functions are.
Daniel Stenberg [Sat, 7 Feb 2009 22:47:07 +0000 (22:47 +0000)]
214 - progress bar prefix, second try (for the curl tool)
patch declined
Dan Fandrich [Fri, 6 Feb 2009 19:25:32 +0000 (19:25 +0000)]
Mention the first release of CURLOPT_FTP_FILEMETHOD
Dan Fandrich [Thu, 5 Feb 2009 00:13:40 +0000 (00:13 +0000)]
Added an explicit buffer limit check in msdosify() (patch based on FreeBSD).
This couldn't ever overflow in curl, but might if the code were used
elsewhere or under different conditions.
Dan Fandrich [Wed, 4 Feb 2009 23:40:57 +0000 (23:40 +0000)]
Fixed a typo (spotted in the FreeBSD ports).
Dan Fandrich [Wed, 4 Feb 2009 23:33:34 +0000 (23:33 +0000)]
Don't add the standard /usr/lib or /usr/include paths to LDFLAGS and CPPFLAGS
(respectively) when --with-ssl=/usr is used (patch based on FreeBSD).
Daniel Stenberg [Wed, 4 Feb 2009 21:22:13 +0000 (21:22 +0000)]
206 - A. Craig West's CURLOPT_HTTP_VERSION change for CONNECT
applied!
Daniel Stenberg [Tue, 3 Feb 2009 22:28:41 +0000 (22:28 +0000)]
- Hidemoto Nakada provided a small fix that makes it possible to get the
CURLINFO_CONTENT_LENGTH_DOWNLOAD size from file:// "transfers" with
CURLOPT_NOBODY set true.
Phil Blundell [Tue, 3 Feb 2009 14:38:09 +0000 (14:38 +0000)]
* February 3 2009 (Phil Blundell)
- If the server returns garbage or nothing at all in response to an AAAA query,
go on and ask for A records anyway.
Daniel Stenberg [Mon, 2 Feb 2009 21:36:47 +0000 (21:36 +0000)]
- Patrick Scott found a rather large memory leak when using the multi
interface and setting CURLMOPT_MAXCONNECTS to something less than the number
of handles you add to the multi handle. All the connections that didn't fit
in the cache would not be properly disconnected nor freed!
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.