Daniel Stenberg [Tue, 2 Nov 2004 21:46:27 +0000 (21:46 +0000)]
recent changes
Daniel Stenberg [Tue, 2 Nov 2004 14:02:29 +0000 (14:02 +0000)]
use ifdef not if
Daniel Stenberg [Tue, 2 Nov 2004 10:12:22 +0000 (10:12 +0000)]
Paul Nolan fix to make libcurl build nicely on Windows CE
Daniel Stenberg [Tue, 2 Nov 2004 09:43:50 +0000 (09:43 +0000)]
documented the current --retry options
Daniel Stenberg [Tue, 2 Nov 2004 08:26:55 +0000 (08:26 +0000)]
modified to not use realloc() on a NULL pointer
Daniel Stenberg [Mon, 1 Nov 2004 22:50:59 +0000 (22:50 +0000)]
When cross-compiling, the configure script no longer attempts to use
pkg-config on the build host in order to detect OpenSSL compiler options.
Gisle Vanem [Thu, 28 Oct 2004 13:18:09 +0000 (13:18 +0000)]
Fixed _write() arguments.
Gisle Vanem [Thu, 28 Oct 2004 13:13:29 +0000 (13:13 +0000)]
*** empty log message ***
Daniel Stenberg [Thu, 28 Oct 2004 07:23:19 +0000 (07:23 +0000)]
use longs
Daniel Stenberg [Wed, 27 Oct 2004 21:46:11 +0000 (21:46 +0000)]
Dan Fandrich's gzip handling fix
Daniel Stenberg [Wed, 27 Oct 2004 21:29:55 +0000 (21:29 +0000)]
Added --retry and --retry-delay first attempt with four related test cases.
Daniel Stenberg [Wed, 27 Oct 2004 14:18:57 +0000 (14:18 +0000)]
log client disconnects
Daniel Stenberg [Tue, 26 Oct 2004 13:31:55 +0000 (13:31 +0000)]
Testing to define _REENTRANT unconditionally in here.
Daniel Stenberg [Tue, 26 Oct 2004 08:09:16 +0000 (08:09 +0000)]
mention how LDFLAGS=-R can be used (or LD_LIBRARY_PATH or ld.so.conf)
Daniel Stenberg [Tue, 26 Oct 2004 08:08:41 +0000 (08:08 +0000)]
mention incompatibilities with ares
Daniel Stenberg [Mon, 25 Oct 2004 11:28:40 +0000 (11:28 +0000)]
Tomas Pospisek filed bug report #1053287 that proved -C - and --fail on a
file that was already completely downloaded caused an error, while it
doesn't if you don't use --fail! I added test case 194 to verify the fix.
Grrr. CURLOPT_FAILONERROR is now added to the list stuff to remove in
libcurl v8 due to all the kludges needed to support it.
Daniel Stenberg [Mon, 25 Oct 2004 11:28:15 +0000 (11:28 +0000)]
just nicer output when this is seen
Daniel Stenberg [Mon, 25 Oct 2004 11:28:01 +0000 (11:28 +0000)]
the array sizes _can_ differ and the arrays can still match, since chomp
is used at times but it doesn't decrease the array size
Daniel Stenberg [Mon, 25 Oct 2004 11:05:37 +0000 (11:05 +0000)]
format update
Daniel Stenberg [Sun, 24 Oct 2004 22:31:40 +0000 (22:31 +0000)]
Mohun Biswas found out that formposting a zero-byte file didn't work very
good. I fixed.
Daniel Stenberg [Sun, 24 Oct 2004 13:02:46 +0000 (13:02 +0000)]
ignore this
Daniel Stenberg [Sun, 24 Oct 2004 13:02:09 +0000 (13:02 +0000)]
maketgz now creates a ares_version.h.dist file with the given version data
properly set, and the Makefile.am is now fixed to use that when building
a new package with make dist.
Daniel Stenberg [Thu, 21 Oct 2004 08:22:07 +0000 (08:22 +0000)]
Dan Fandrich's better ifdef for include fix
Daniel Stenberg [Wed, 20 Oct 2004 08:01:38 +0000 (08:01 +0000)]
1.2.1 release time
Daniel Stenberg [Tue, 19 Oct 2004 18:50:46 +0000 (18:50 +0000)]
this change was reverted since it broke on solaris
Daniel Stenberg [Tue, 19 Oct 2004 18:49:31 +0000 (18:49 +0000)]
iconv 2.1.3 is considered bad for test case 165
Daniel Stenberg [Tue, 19 Oct 2004 18:46:12 +0000 (18:46 +0000)]
revert the charset fix as it broke the solaris tests (native iconv doesn't
like that name)
Daniel Stenberg [Tue, 19 Oct 2004 18:36:17 +0000 (18:36 +0000)]
Ralph Mitchell fixed: input field with NAME= and VALUE= weren't processed
properly case insensitive
Daniel Stenberg [Tue, 19 Oct 2004 18:26:35 +0000 (18:26 +0000)]
Alexander Krasnostavsky made it possible to make FTP 3rd party transfers with
both source and destination being the same host. It can be useful if you want
to move a file on a server or similar.
Daniel Stenberg [Tue, 19 Oct 2004 15:34:05 +0000 (15:34 +0000)]
snart isn't really used these days so we cut out the reference to it
Daniel Stenberg [Tue, 19 Oct 2004 15:32:31 +0000 (15:32 +0000)]
added num_connects
Daniel Stenberg [Tue, 19 Oct 2004 15:30:08 +0000 (15:30 +0000)]
CURLINFO_NUM_CONNECTS and more
Gisle Vanem [Tue, 19 Oct 2004 10:14:06 +0000 (10:14 +0000)]
djgpp has locale.h and setlocale().
Gisle Vanem [Tue, 19 Oct 2004 10:13:26 +0000 (10:13 +0000)]
All Win compilers have locale.h + setlocale().
Daniel Stenberg [Tue, 19 Oct 2004 06:04:25 +0000 (06:04 +0000)]
bug 1049275 fixes test 165
Daniel Stenberg [Mon, 18 Oct 2004 13:37:18 +0000 (13:37 +0000)]
Peter Wullinger pointed out that curl should call setlocale() properly to
initiate the specific language operations, to make the IDN stuff work better.
Daniel Stenberg [Mon, 18 Oct 2004 08:42:44 +0000 (08:42 +0000)]
start over on 7.12.3
Daniel Stenberg [Mon, 18 Oct 2004 07:48:28 +0000 (07:48 +0000)]
7.12.2
Daniel Stenberg [Sun, 17 Oct 2004 07:48:00 +0000 (07:48 +0000)]
new mirror
Daniel Stenberg [Sat, 16 Oct 2004 14:07:31 +0000 (14:07 +0000)]
today's changes
Daniel Stenberg [Sat, 16 Oct 2004 14:06:54 +0000 (14:06 +0000)]
Alexander Krasnostavsky made the CURLOPT_FTP_CREATE_MISSING_DIRS option work
fine even for third party transfers.
Daniel Stenberg [Sat, 16 Oct 2004 13:54:40 +0000 (13:54 +0000)]
libcurl leaked memory for cookies with the "max-age" field set.
Gisle Vanem [Sat, 16 Oct 2004 13:20:33 +0000 (13:20 +0000)]
Changes for issue 50
Gisle Vanem [Sat, 16 Oct 2004 13:17:15 +0000 (13:17 +0000)]
Open "debugit" in binary mode ("rb").
Gisle Vanem [Sat, 16 Oct 2004 12:59:05 +0000 (12:59 +0000)]
Added Traian Nicolescu's patches for threaded resolver on
Windows. Plugged some potential handle and memory leaks.
Refs.
http://curl.haxx.se/mail/lib-2004-10/0134.html
http://curl.haxx.se/mail/lib-2004-10/0157.html
Daniel Stenberg [Thu, 14 Oct 2004 13:44:54 +0000 (13:44 +0000)]
Eric Vergnaud pointed out that libcurl didn't treat ?-letters in the user name
and password fields properly in URLs, like
ftp://us?er:pass?word@site.com/. Added test 191 to verify the fix.
Daniel Stenberg [Thu, 14 Oct 2004 13:44:16 +0000 (13:44 +0000)]
use quotes to make gdb usage on this easier
Daniel Stenberg [Thu, 14 Oct 2004 13:34:42 +0000 (13:34 +0000)]
let's fix this too
Gisle Vanem [Wed, 13 Oct 2004 19:11:46 +0000 (19:11 +0000)]
Set errno = ENOMEM on faild countcheck().
Daniel Stenberg [Wed, 13 Oct 2004 08:46:36 +0000 (08:46 +0000)]
.NET binding
Daniel Stenberg [Tue, 12 Oct 2004 18:20:36 +0000 (18:20 +0000)]
correction
Daniel Stenberg [Tue, 12 Oct 2004 12:49:38 +0000 (12:49 +0000)]
#include "strerror.h" to get the strerror proto
Daniel Stenberg [Tue, 12 Oct 2004 12:47:38 +0000 (12:47 +0000)]
recent fixes
Daniel Stenberg [Tue, 12 Oct 2004 12:47:31 +0000 (12:47 +0000)]
one item fixed, one added for 7.12.2 and two more for 7.12.3
Daniel Stenberg [Tue, 12 Oct 2004 07:24:19 +0000 (07:24 +0000)]
add proper error message when send() fails
Daniel Stenberg [Mon, 11 Oct 2004 17:26:24 +0000 (17:26 +0000)]
removed trailing whitespace
Daniel Stenberg [Mon, 11 Oct 2004 17:23:41 +0000 (17:23 +0000)]
SO_NOSIGPIPE
Daniel Stenberg [Sun, 10 Oct 2004 14:36:22 +0000 (14:36 +0000)]
another lame attempt to avoid the "warning: will never be executed" warning
by gcc 3.4
Gisle Vanem [Sun, 10 Oct 2004 14:08:05 +0000 (14:08 +0000)]
MSVC uses 'i64' suffix for 64-bit sizes.
Daniel Stenberg [Sun, 10 Oct 2004 07:51:25 +0000 (07:51 +0000)]
attempt to make the configure output appear in the build log when it runs
on my solaris 2.7 box too (currently unknown perl version)
Daniel Stenberg [Sun, 10 Oct 2004 07:45:41 +0000 (07:45 +0000)]
set the SIZEOF_LONG define to get the new lib/strtoofft.h fine
Daniel Stenberg [Sun, 10 Oct 2004 03:39:59 +0000 (03:39 +0000)]
If long is 8 bytes we can use strtol() to get 64 bit numbers and won't need
our strtoll() replacement function.
Daniel Stenberg [Sun, 10 Oct 2004 03:32:01 +0000 (03:32 +0000)]
Prevent a longjmp warning by moving the rc assign within Curl_resolv().
Andy Cedilnik reported. Warning on HP-UX?
Daniel Stenberg [Sun, 10 Oct 2004 03:28:51 +0000 (03:28 +0000)]
Use LL suffix for long long constants if the compiler supports it, to prevent
warnings.
Daniel Stenberg [Sun, 10 Oct 2004 03:22:45 +0000 (03:22 +0000)]
If long long is supported, check if [num]LL is supported for numerical
constants.
Daniel Stenberg [Fri, 8 Oct 2004 12:59:36 +0000 (12:59 +0000)]
--enable-ares on AIX has problem
Daniel Stenberg [Fri, 8 Oct 2004 09:57:33 +0000 (09:57 +0000)]
Use 'struct lifreq' and SIOCGLIFADDR
Daniel Stenberg [Fri, 8 Oct 2004 09:39:37 +0000 (09:39 +0000)]
killed trailing whitespace
Daniel Stenberg [Fri, 8 Oct 2004 08:18:08 +0000 (08:18 +0000)]
if basename was found, check for a prototype and if none was found, provide
our own in the formdata.c file to prevent warnings on systems without it
Daniel Stenberg [Fri, 8 Oct 2004 08:16:02 +0000 (08:16 +0000)]
prevent warning with comparison between signed and unsigned
Daniel Stenberg [Thu, 7 Oct 2004 22:57:24 +0000 (22:57 +0000)]
use curlx_strnequal() from the private lib sources instead of strncasecmp()
for maximum portability
Daniel Stenberg [Thu, 7 Oct 2004 22:56:24 +0000 (22:56 +0000)]
use curl_strnequal(), not strncasecmp()
Daniel Stenberg [Thu, 7 Oct 2004 12:17:53 +0000 (12:17 +0000)]
Gisle's new fix, the old file:// leak
Daniel Stenberg [Thu, 7 Oct 2004 07:41:44 +0000 (07:41 +0000)]
use tld_strerror() only if previously detected, since otherwise we can't
work with libidn < 0.5.6
Daniel Stenberg [Thu, 7 Oct 2004 07:41:14 +0000 (07:41 +0000)]
check for tld_strerror
Gisle Vanem [Wed, 6 Oct 2004 19:00:37 +0000 (19:00 +0000)]
Added tld_check_name().
Gisle Vanem [Wed, 6 Oct 2004 18:55:58 +0000 (18:55 +0000)]
Fixed tld_check_name(). idna_to_unicode_lzlz() should never fail,
but return FALSE if 'uc_name == NULL' just in case.
Gisle Vanem [Wed, 6 Oct 2004 18:40:10 +0000 (18:40 +0000)]
USE_LIBIDN: Added Top-level-domain (TLD) check for host->name.
Only print a warning if check fails.
Daniel Stenberg [Wed, 6 Oct 2004 14:58:07 +0000 (14:58 +0000)]
test resume and redirect
Daniel Stenberg [Wed, 6 Oct 2004 13:37:12 +0000 (13:37 +0000)]
Chih-Chung Chang reported that if you use CURLOPT_RESUME_FROM and enabled
CURLOPT_FOLLOWLOCATION, libcurl reported error if a redirect happened even if
the new URL would provide the resumed file. Test case 188 added to verify the
fix (together with existing test 99).
Gisle Vanem [Wed, 6 Oct 2004 13:24:08 +0000 (13:24 +0000)]
*** empty log message ***
Daniel Stenberg [Wed, 6 Oct 2004 09:04:20 +0000 (09:04 +0000)]
updates of today
Daniel Stenberg [Wed, 6 Oct 2004 07:52:20 +0000 (07:52 +0000)]
avoid warnings on systems with this member set const
Daniel Stenberg [Wed, 6 Oct 2004 07:50:18 +0000 (07:50 +0000)]
removed tabs and trailing whitespace from source
Daniel Stenberg [Wed, 6 Oct 2004 07:33:03 +0000 (07:33 +0000)]
Dan Fandrich fix for hosts that need both -lnsl and -lsocket
Daniel Stenberg [Wed, 6 Oct 2004 06:58:42 +0000 (06:58 +0000)]
untabify
Gisle Vanem [Tue, 5 Oct 2004 13:48:50 +0000 (13:48 +0000)]
djgpp has basename()
Daniel Stenberg [Tue, 5 Oct 2004 11:03:59 +0000 (11:03 +0000)]
minor edit to re-use a variable and to hopefully avoid a (moot) warning
about code that won't be reached
Daniel Stenberg [Tue, 5 Oct 2004 10:52:51 +0000 (10:52 +0000)]
recent fixes
Daniel Stenberg [Tue, 5 Oct 2004 08:45:13 +0000 (08:45 +0000)]
make the given path to --with-libidn override any other installation
Daniel Stenberg [Tue, 5 Oct 2004 08:42:56 +0000 (08:42 +0000)]
avoid warning for unused variable
Daniel Stenberg [Tue, 5 Oct 2004 08:40:26 +0000 (08:40 +0000)]
use idna_strerror() if it is available (only in libidn 0.5.6 or later)
Daniel Stenberg [Tue, 5 Oct 2004 06:55:09 +0000 (06:55 +0000)]
Only include libgen.h if we have a basename as well.
Mainly meant to deal with the IRIX case which seems to requrie a "-lgen" lib
to find the basename function and thus without the gen lib, it finds the
header but not the function and our replacement function has a prototype
that doesn't match the IRIX one.
A different approach would be to make configure detect and use -lgen for the
systems that require it.
Daniel Stenberg [Tue, 5 Oct 2004 06:49:09 +0000 (06:49 +0000)]
let our basename() be static
Daniel Stenberg [Mon, 4 Oct 2004 12:54:58 +0000 (12:54 +0000)]
name mix fix
Daniel Stenberg [Mon, 4 Oct 2004 10:37:30 +0000 (10:37 +0000)]
closing in on release
Daniel Stenberg [Mon, 4 Oct 2004 10:36:51 +0000 (10:36 +0000)]
Made the dns entry remain locked while a connection to the host remains to
allow verbose output during this period. Bertrand Demiddelaer reported and
helped fixing.
Daniel Stenberg [Sun, 3 Oct 2004 21:32:24 +0000 (21:32 +0000)]
set async.done to TRUE last in the addrinfo callback to prevent the risk that
the multi-threaded resolver does wrong
Daniel Stenberg [Sun, 3 Oct 2004 21:02:01 +0000 (21:02 +0000)]
Replaced the use of isspace() with our own version instead since we have most
data as 'char *' and that makes us pass in negative values if there is 8bit
data in the string. Changing to unsigned causes too much warnings or too many
required typecasts to the normal string functions.
Daniel Stenberg [Sun, 3 Oct 2004 20:50:47 +0000 (20:50 +0000)]
when building with libidn support, check for idna_strerror() which is
included in very recent versions