Daniel Stenberg [Mon, 14 Nov 2005 07:48:05 +0000 (07:48 +0000)]
Yang Tse: msvc7+ has deprecated the 'DESCRIPTION' section in
module-definition files. this section is not mandatory for msvc60 so it
could be completely removed from libcurl.def.
Daniel Stenberg [Mon, 14 Nov 2005 00:18:12 +0000 (00:18 +0000)]
Jan Kunder's debian bug report
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338680 identified a weird
error message for when you try to upload a file and the requested directory
doesn't exist on the target server.
Daniel Stenberg [Mon, 14 Nov 2005 00:17:03 +0000 (00:17 +0000)]
extended the description for exit code 9
Daniel Stenberg [Sun, 13 Nov 2005 23:53:14 +0000 (23:53 +0000)]
Yang Tse fixed compiler warnings
Daniel Stenberg [Sun, 13 Nov 2005 23:04:28 +0000 (23:04 +0000)]
to build with old gnutls verions, don't use the *_t types
Daniel Stenberg [Sun, 13 Nov 2005 22:54:00 +0000 (22:54 +0000)]
prevent compiler warning
Gisle Vanem [Sun, 13 Nov 2005 13:32:19 +0000 (13:32 +0000)]
Add HAVE_STRUCT_SOCKADDR_STORAGE.
My mistake; WinCE has it's own config-file.
Gisle Vanem [Sun, 13 Nov 2005 13:20:37 +0000 (13:20 +0000)]
Fix for WIN32. WIN32 does have 'struct sockaddr_storage', but
that's in <winsock2.h>. Hence tftp.c wouldn't compile on WinCE.
Daniel Stenberg [Sun, 13 Nov 2005 11:06:48 +0000 (11:06 +0000)]
Debian bug report 338681 by Jan Kunder: make curl better detect and report bad
limit-rate units: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338681 Now
curl will return error if a bad unit is used.
Daniel Stenberg [Sun, 13 Nov 2005 09:24:06 +0000 (09:24 +0000)]
Thanks to this nice summary of poll() implementations:
http://www.greenend.org.uk/rjk/2001/06/poll.html and further tests by Eugene
Kotlyarov, we now know that cygwin's poll returns only POLLHUP on remote
connection closure so we check for that case (too) and re-enable poll for
cygwin builds.
Daniel Stenberg [Sat, 12 Nov 2005 22:49:19 +0000 (22:49 +0000)]
Eugene Kotlyarov found out that cygwin's poll() function isn't doing things
right: http://curl.haxx.se/mail/archive-2005-11/0045.html so we now disable
poll() and use select() on cygwin too (we already do the same choice on Mac OS
X)
Daniel Stenberg [Sat, 12 Nov 2005 22:13:20 +0000 (22:13 +0000)]
oops * 2
Daniel Stenberg [Sat, 12 Nov 2005 22:12:42 +0000 (22:12 +0000)]
oops
Daniel Stenberg [Sat, 12 Nov 2005 22:10:42 +0000 (22:10 +0000)]
Reversed the logic for sockaddr_storage and made our own Curl_sockaddr_storage
struct instead to use.
Daniel Stenberg [Sat, 12 Nov 2005 19:11:02 +0000 (19:11 +0000)]
on windows (mingw32) the sockaddr_storage struct is in winsock2.h
Gisle Vanem [Sat, 12 Nov 2005 18:33:32 +0000 (18:33 +0000)]
Fixed typo. Detabified.
Gisle Vanem [Sat, 12 Nov 2005 15:15:27 +0000 (15:15 +0000)]
Support big-endian machines.
Gisle Vanem [Sat, 12 Nov 2005 14:59:33 +0000 (14:59 +0000)]
Added CVS id, Detabified, applied c-ares coding-style.
Gisle Vanem [Sat, 12 Nov 2005 14:44:26 +0000 (14:44 +0000)]
Added CVS id. Detabified.
Gisle Vanem [Sat, 12 Nov 2005 14:41:12 +0000 (14:41 +0000)]
Include <getopt.h>.
Use DNS__32BIT() and DNS__16BIT() (How about BE machines?).
Display T_AAAA resource.
Daniel Stenberg [Sat, 12 Nov 2005 00:01:50 +0000 (00:01 +0000)]
removed files no longer existing
Daniel Stenberg [Fri, 11 Nov 2005 23:20:07 +0000 (23:20 +0000)]
Dima Barsky patched problem #1348930: the GnuTLS code completely ignored
client certificates! (http://curl.haxx.se/bug/view.cgi?id=1348930).
Daniel Stenberg [Fri, 11 Nov 2005 22:04:11 +0000 (22:04 +0000)]
Moved the sockaddr_storage definition to lib/sockaddr.h and only include that
in files that actually need the struct.
Gisle Vanem [Fri, 11 Nov 2005 19:25:29 +0000 (19:25 +0000)]
Squelch gcc 4.x warning.
Gisle Vanem [Fri, 11 Nov 2005 19:20:22 +0000 (19:20 +0000)]
Detabified. Added CVS id.
Gisle Vanem [Fri, 11 Nov 2005 19:14:51 +0000 (19:14 +0000)]
HAVE_xx defines moved to config-win32.h.
Daniel Stenberg [Fri, 11 Nov 2005 08:52:29 +0000 (08:52 +0000)]
mention how to set domain when using NTLM
Gisle Vanem [Fri, 11 Nov 2005 04:28:23 +0000 (04:28 +0000)]
Update using ares_inet_pton() and ares_inet_ntop().
Daniel Stenberg [Thu, 10 Nov 2005 23:30:54 +0000 (23:30 +0000)]
one in, one out
Daniel Stenberg [Thu, 10 Nov 2005 23:24:09 +0000 (23:24 +0000)]
Fun while it lasted. New mirror already out-of-date.
Daniel Stenberg [Thu, 10 Nov 2005 22:25:07 +0000 (22:25 +0000)]
David Lang fixed IPv6 support for TFTP!
Daniel Stenberg [Thu, 10 Nov 2005 22:24:49 +0000 (22:24 +0000)]
David Lang: if there is no sockaddr_storage, make up our own and use that
Daniel Stenberg [Thu, 10 Nov 2005 22:22:38 +0000 (22:22 +0000)]
modified to the new error text for range error
Daniel Stenberg [Thu, 10 Nov 2005 22:11:27 +0000 (22:11 +0000)]
just implemented
Daniel Stenberg [Thu, 10 Nov 2005 22:11:01 +0000 (22:11 +0000)]
Introducing range stepping to the curl globbing support. Now you can specify
step counter by adding :[num] within the brackets when specifying a range.
Gisle Vanem [Thu, 10 Nov 2005 16:55:59 +0000 (16:55 +0000)]
Use config-win32.h on Windows. Fixes for djgpp.
Gisle Vanem [Thu, 10 Nov 2005 16:52:43 +0000 (16:52 +0000)]
Defines moved to config-win32.h.
Gisle Vanem [Thu, 10 Nov 2005 16:50:21 +0000 (16:50 +0000)]
Easy configuration with this file.
Gisle Vanem [Thu, 10 Nov 2005 16:42:07 +0000 (16:42 +0000)]
Remove generated files areslib.plg areslib.mak from CVS.
Gisle Vanem [Thu, 10 Nov 2005 16:40:08 +0000 (16:40 +0000)]
Remove generated files ahost.plg ahost.mak from CVS.
Gisle Vanem [Thu, 10 Nov 2005 16:38:17 +0000 (16:38 +0000)]
Remove generated files adig.plg adig.mak from CVS.
Daniel Stenberg [Wed, 9 Nov 2005 23:15:04 +0000 (23:15 +0000)]
* Add step parameter to the globbing. Like [0-1000;10] that would walk the
range increasing the number with 10 for every step. Requested by Jose:
http://curl.haxx.se/feedback/display.cgi?id=
11315662266802
Gisle Vanem [Wed, 9 Nov 2005 22:52:45 +0000 (22:52 +0000)]
Update with "new" HAVE_xx.
Gisle Vanem [Wed, 9 Nov 2005 22:32:45 +0000 (22:32 +0000)]
Replace <winsock.h> with <winsock2.h>
since IPv6 support is required.
Gisle Vanem [Wed, 9 Nov 2005 22:18:13 +0000 (22:18 +0000)]
Add cvs id.
Gisle Vanem [Wed, 9 Nov 2005 22:17:13 +0000 (22:17 +0000)]
Added Makefile.vc6.
Gisle Vanem [Wed, 9 Nov 2005 22:16:58 +0000 (22:16 +0000)]
I hate MS-devstudio project files.
Gisle Vanem [Wed, 9 Nov 2005 21:51:44 +0000 (21:51 +0000)]
Updated for MingW. Added inet_ntop.o inet_net_pton.o bitncmp.o.
Added -D'efines'.
Gisle Vanem [Wed, 9 Nov 2005 21:38:58 +0000 (21:38 +0000)]
MSVC fix for 'socklen_t'. Replace <winsock.h> with <winsock2.h> +
<ws2tcpip.h> since IPv6 is no longer optional (was it ever?)
Gisle Vanem [Wed, 9 Nov 2005 21:32:47 +0000 (21:32 +0000)]
Fixes for building with MSVC-6/7. Added inet*.c.
Replace <winsock.h> with <winsock2.h> + <ws2tcpip.h>
(ala libcurl since IPv6 is not optional now).
Gisle Vanem [Wed, 9 Nov 2005 21:29:34 +0000 (21:29 +0000)]
Fixes for building ahost with MSVC-6/7. Added inet*.c.
Daniel Stenberg [Tue, 8 Nov 2005 14:45:58 +0000 (14:45 +0000)]
Removed the use of AI_CANONNAME in the IPv6-enabled resolver functions since
we really have no use for reverse lookups of the address.
I truly hope these are the last reverse lookups we had lingering in the
code!
Daniel Stenberg [Tue, 8 Nov 2005 14:37:15 +0000 (14:37 +0000)]
SSPI-fix and a new mirror
Daniel Stenberg [Tue, 8 Nov 2005 14:15:34 +0000 (14:15 +0000)]
Dmitry Bartsevich discovered some issues in compatibilty of SSPI-enabled
version of libcurl with different Windows versions. Current version of
libcurl imports SSPI functions from secur32.dll. However, under Windows NT
4.0 these functions are located in security.dll, under Windows 9x - in
secur32.dll and Windows 2000 and XP contains both these DLLs (security.dll
just forwards calls to secur32.dll).
Dmitry's patch loads proper library dynamically depending on Windows
version. Function InitSecurityInterface() is used to obtain pointers to all
of SSPI function in one structure.
: ----------------------------------------------------------------------
Daniel Stenberg [Mon, 7 Nov 2005 13:54:14 +0000 (13:54 +0000)]
27. "libcurl built with GNUTLS ignores the SSLCERT option" - Unlike
Curl_ossl_connect(), the Curl_gtls_connect() function does not send the user
certificate to the peer. In fact, it ignores the conn->data->set.cert field
completely, it always uses the anonymous credentials. See
http://curl.haxx.se/bug/view.cgi?id=1348930
Daniel Stenberg [Mon, 7 Nov 2005 08:37:08 +0000 (08:37 +0000)]
mention the need for a "fake" -u when --negotiate is used
Daniel Stenberg [Sat, 5 Nov 2005 23:39:08 +0000 (23:39 +0000)]
CurlPas 2005-11-05 was released: curlpas.sf.net/
Daniel Stenberg [Wed, 2 Nov 2005 09:38:58 +0000 (09:38 +0000)]
oops
Daniel Stenberg [Wed, 2 Nov 2005 09:34:53 +0000 (09:34 +0000)]
Added:
1.9 Where do I buy commercial support for curl?
1.10 How many are using curl?
6.7 What are my obligations when using libcurl in my commerical apps?
Edited a few other paragraphs slightly.
Gisle Vanem [Tue, 1 Nov 2005 16:27:27 +0000 (16:27 +0000)]
Use an empty '*mod_name'.
Daniel Stenberg [Mon, 31 Oct 2005 08:55:01 +0000 (08:55 +0000)]
Vilmos Nebehaj improved libcurl's LDAP abilities:
The LDAP code in libcurl can't handle LDAP servers of LDAPv3 nor binary
attributes in LDAP objects. So, I made a quick patch to address these
problems.
The solution is simple: if we connect to an LDAP server, first try LDAPv3
(which is the preferred protocol as of now) and then fall back to LDAPv2.
In case of binary attributes, we first convert them to base64, just like the
openldap client does. It uses ldap_get_values_len() instead of
ldap_get_values() to be able to retrieve binary attributes correctly. I
defined the necessary LDAP macros in lib/ldap.c to be able to compile
libcurl without the presence of libldap
Daniel Stenberg [Mon, 31 Oct 2005 08:47:54 +0000 (08:47 +0000)]
kill trailing whitespace
Daniel Stenberg [Sun, 30 Oct 2005 23:15:49 +0000 (23:15 +0000)]
test 275 makes a CONNECT through a proxy and then gets two pages from the
same server
Daniel Stenberg [Sat, 29 Oct 2005 22:22:18 +0000 (22:22 +0000)]
--max-redirs 0
Daniel Stenberg [Sat, 29 Oct 2005 22:18:58 +0000 (22:18 +0000)]
re-arranged the win32 section and added a pointer to the INSTALL.devcpp
document
Daniel Stenberg [Fri, 28 Oct 2005 21:34:51 +0000 (21:34 +0000)]
Tom Kyer's DevCpp-Mingw Install & Compilation guide
Daniel Stenberg [Fri, 28 Oct 2005 12:59:37 +0000 (12:59 +0000)]
mention brokenness
Daniel Stenberg [Fri, 28 Oct 2005 07:22:45 +0000 (07:22 +0000)]
elaborated somewhat in the license chapter
Daniel Stenberg [Thu, 27 Oct 2005 22:05:38 +0000 (22:05 +0000)]
Nis Jorgensen filed bug report #1338648
(http://curl.haxx.se/bug/view.cgi?id=1338648) which really is more of a
feature request, but anyway. It pointed out that --max-redirs did not allow
it to be set to 0, which then would return an error code on the first
Location: found. Based on Nis' patch, now libcurl supports CURLOPT_MAXREDIRS
set to 0, or -1 for infinity. Added test case 274 to verify.
Daniel Stenberg [Thu, 27 Oct 2005 21:02:01 +0000 (21:02 +0000)]
tommink[at]post.pl reported in bug report #1337723
(http://curl.haxx.se/bug/view.cgi?id=1337723) that curl could not upload
binary data from stdin on Windows if the data contained control-Z (hex 1a)
since that is treated as end-of-file when read in text mode. Gisle Vanem
pointed out the fix, and I made both -T and --data-binary take advantage of
it.
Daniel Stenberg [Thu, 27 Oct 2005 20:51:43 +0000 (20:51 +0000)]
updates to reflect current status in Debian land, and added some known
differences between OpenSSL and GnuTLS (that is probably a suitable subject
for a separate document...)
Gisle Vanem [Thu, 27 Oct 2005 12:56:05 +0000 (12:56 +0000)]
Removed dependency on zlib.h. Added dependency for
..\lib\timeval.c.
Gisle Vanem [Thu, 27 Oct 2005 12:45:31 +0000 (12:45 +0000)]
Added option '-zc' puts const data in code-segment.
Added CURL_DISABLE_TFTP; tftp.c doesn't compile as-is.
Daniel Stenberg [Thu, 27 Oct 2005 12:05:36 +0000 (12:05 +0000)]
Jaz Fresh pointed out that if you used "-r [number]" as was wrongly described
in the man page, curl would send an invalid HTTP Range: header. The correct
way would be to use "-r [number]-" or even "-r -[number]". Starting now,
curl will warn if this is discovered, and automatically append a dash to the
range before passing it to libcurl.
Daniel Stenberg [Tue, 25 Oct 2005 14:05:21 +0000 (14:05 +0000)]
multi IP socket description leak with multi interface
Daniel Stenberg [Tue, 25 Oct 2005 14:04:54 +0000 (14:04 +0000)]
added new dutch mirror and removed the "--" separators
Daniel Stenberg [Tue, 25 Oct 2005 13:15:11 +0000 (13:15 +0000)]
close the existing socket when trying next IP, as otherwise we leak one!
bug #1326306
Daniel Stenberg [Sat, 22 Oct 2005 21:05:07 +0000 (21:05 +0000)]
Dima Barsky reported a problem with GnuTLS-enabled libcurl in bug report
#1334338 (http://curl.haxx.se/bug/view.cgi?id=1334338). When reading an SSL
stream from a server and the server requests a "rehandshake", the current
code simply returns this as an error. I have no good way to test this, but
I've added a crude attempt of dealing with this situation slightly better -
it makes a blocking handshake if this happens. Done like this because fixing
this the "proper" way (that would handshake asynchronously) will require
quite some work and I really need a good way to test this to do such a
change.
Daniel Stenberg [Fri, 21 Oct 2005 21:00:44 +0000 (21:00 +0000)]
"Ofer" reported a problem when libcurl re-used a connection and failed to do
it, it could then accidentally actually crash. Presumably, this concerns FTP
connections. http://curl.haxx.se/bug/view.cgi?id=1330310
Daniel Stenberg [Fri, 21 Oct 2005 19:32:12 +0000 (19:32 +0000)]
Temprimus improved the MSVC makefile so that the static debug SSL libs are
linked to the executable and not to the libcurld.lib
http://curl.haxx.se/bug/view.cgi?id=1326676
Daniel Stenberg [Fri, 21 Oct 2005 19:21:19 +0000 (19:21 +0000)]
Bradford Bruce made the windows resolver code properly return
CURLE_COULDNT_RESOLVE_PROXY and CURLE_COULDNT_RESOLVE_HOST on resolving
errors (as documented).
Daniel Stenberg [Thu, 20 Oct 2005 21:19:19 +0000 (21:19 +0000)]
shorted and unified language in the --help output
Daniel Stenberg [Thu, 20 Oct 2005 21:01:51 +0000 (21:01 +0000)]
2 gone, 2 added, 1 moved, 1 changed name
Daniel Stenberg [Thu, 20 Oct 2005 20:07:32 +0000 (20:07 +0000)]
Dave Dribin made libcurl understand and handle cases when the server
(wrongly) sends *two* WWW-Authenticate headers for Digest. While this should
never happen in a sane world, libcurl previously got into an infinite loop
when this occurred. Dave added test 273 to verify this.
Daniel Stenberg [Thu, 20 Oct 2005 19:40:30 +0000 (19:40 +0000)]
2 mirrors, 1 binding release
Daniel Stenberg [Thu, 20 Oct 2005 19:40:02 +0000 (19:40 +0000)]
Added a dump_addrinfo() function to ease debugging of resolved names. Define
DEBUG_ADDRINFO to enable.
Daniel Stenberg [Thu, 20 Oct 2005 19:07:33 +0000 (19:07 +0000)]
Temprimus improved the MSVC makefile: "makes a build option available so if
you set rtlibcfg=static for the make, then it would build with /MT. The
default behaviour is /MD (the original)."
http://curl.haxx.se/bug/view.cgi?id=1326665
Dan Fandrich [Tue, 18 Oct 2005 18:15:01 +0000 (18:15 +0000)]
Removed mention of TFTP now that it's implemented.
Daniel Stenberg [Tue, 18 Oct 2005 07:26:43 +0000 (07:26 +0000)]
Mohun Biswas' suggested change to prevent GNU indent to warn on the =-1 line.
Daniel Stenberg [Fri, 14 Oct 2005 21:21:51 +0000 (21:21 +0000)]
Reverted the LIBCURL_VERSION_NUM change from October 6. As Dave Dribin
reported, the define is used by the configure script and is assumed to use
the 0xYYXXZZ format. This made "curl-config --vernum" fail in the 7.15.0
release version.
Daniel Stenberg [Fri, 14 Oct 2005 13:22:49 +0000 (13:22 +0000)]
Reported by 'TemPRImus' in bug 1326665: use the "Multi-Threaded" options even
when building the static library. http://curl.haxx.se/bug/view.cgi?id=1326665
Daniel Stenberg [Thu, 13 Oct 2005 21:49:28 +0000 (21:49 +0000)]
Slight editing of wording in the CURLOPT_SSL_VERIFYHOST section.
Daniel Stenberg [Thu, 13 Oct 2005 09:23:51 +0000 (09:23 +0000)]
start working on 7.15.1
Daniel Stenberg [Thu, 13 Oct 2005 09:22:31 +0000 (09:22 +0000)]
added names from the 7.15.0 release
Daniel Stenberg [Thu, 13 Oct 2005 08:19:09 +0000 (08:19 +0000)]
7.15.0 time
Daniel Stenberg [Thu, 13 Oct 2005 07:57:51 +0000 (07:57 +0000)]
Make sure that the user and domain strings fit in the target buffer before we
copy them there.
Daniel Stenberg [Thu, 13 Oct 2005 06:20:43 +0000 (06:20 +0000)]
NTLM requires windows or OpenSSL. If you build with GnuTLS for example you
do not get NTLM support enabled.
Daniel Stenberg [Tue, 11 Oct 2005 12:54:44 +0000 (12:54 +0000)]
7.15.0 in november?
Daniel Stenberg [Mon, 10 Oct 2005 20:58:18 +0000 (20:58 +0000)]
make it compile warning-free and free() the memory before exit
Daniel Stenberg [Mon, 10 Oct 2005 18:28:05 +0000 (18:28 +0000)]
pass a NULL pointer in the service argument (the second) if the port number
was 0 as it seems at least some AIX versions don't like a "0" string there