platform/upstream/curl.git
20 years agostop doing the weirdo symlinks
Daniel Stenberg [Thu, 12 Feb 2004 14:39:28 +0000 (14:39 +0000)]
stop doing the weirdo symlinks

20 years agoremoved the subchar variable, it was only set and never used
Daniel Stenberg [Thu, 12 Feb 2004 09:53:03 +0000 (09:53 +0000)]
removed the subchar variable, it was only set and never used

20 years agoremoved the ldaptext variable, it was only set and never used
Daniel Stenberg [Thu, 12 Feb 2004 09:51:43 +0000 (09:51 +0000)]
removed the ldaptext variable, it was only set and never used

20 years agoremoved the nth variable, it was only set and never used anyway
Daniel Stenberg [Thu, 12 Feb 2004 09:50:44 +0000 (09:50 +0000)]
removed the nth variable, it was only set and never used anyway

20 years agoNo longer receive the return code in ConnectionKillOne() that wasn't dealt
Daniel Stenberg [Thu, 12 Feb 2004 09:48:27 +0000 (09:48 +0000)]
No longer receive the return code in ConnectionKillOne() that wasn't dealt
with anyway and thus caused picky compiler to warn.

20 years agoAndrés García's additional fix to make the OpenSSL stuff work for msys/mingw
Daniel Stenberg [Wed, 11 Feb 2004 21:14:54 +0000 (21:14 +0000)]
Andrés García's additional fix to make the OpenSSL stuff work for msys/mingw

20 years ago#if-check for SIGALRM before assuming it is present
Daniel Stenberg [Wed, 11 Feb 2004 21:11:08 +0000 (21:11 +0000)]
#if-check for SIGALRM before assuming it is present

20 years agouse libtoolize --force to overwrite existing (older) files
Daniel Stenberg [Wed, 11 Feb 2004 13:08:38 +0000 (13:08 +0000)]
use libtoolize --force to overwrite existing (older) files

20 years agoinstall ares_version.h as well
Daniel Stenberg [Wed, 11 Feb 2004 12:59:16 +0000 (12:59 +0000)]
install ares_version.h as well

20 years agoDirk Manske's fix to install ares_version.h as well
Daniel Stenberg [Wed, 11 Feb 2004 12:58:43 +0000 (12:58 +0000)]
Dirk Manske's fix to install ares_version.h as well

20 years agomondays are busy days catching up with the patches from the weekend! ;-)
Daniel Stenberg [Mon, 9 Feb 2004 16:16:05 +0000 (16:16 +0000)]
mondays are busy days catching up with the patches from the weekend! ;-)

20 years agoDominick Meglio's update
Daniel Stenberg [Mon, 9 Feb 2004 13:51:52 +0000 (13:51 +0000)]
Dominick Meglio's update

20 years agorecent updates
Daniel Stenberg [Mon, 9 Feb 2004 13:41:24 +0000 (13:41 +0000)]
recent updates

20 years agoModified the default HTTP Accept: header to only be Accept: */*
Daniel Stenberg [Mon, 9 Feb 2004 12:46:41 +0000 (12:46 +0000)]
Modified the default HTTP Accept: header to only be Accept: */*

20 years agoRemoved, this was only used to work out what went wrong with test 91, and
Daniel Stenberg [Mon, 9 Feb 2004 11:41:07 +0000 (11:41 +0000)]
Removed, this was only used to work out what went wrong with test 91, and
we seem to have nailed that one now!

20 years agoOops. I broke the flow with the previous commit.
Daniel Stenberg [Mon, 9 Feb 2004 11:40:00 +0000 (11:40 +0000)]
Oops. I broke the flow with the previous commit.

20 years agoP R Schaffner updated this to work for 7.11.0
Daniel Stenberg [Mon, 9 Feb 2004 10:24:55 +0000 (10:24 +0000)]
P R Schaffner updated this to work for 7.11.0

20 years agoDominick Meglio's added share interface documentation
Daniel Stenberg [Mon, 9 Feb 2004 09:07:26 +0000 (09:07 +0000)]
Dominick Meglio's added share interface documentation

20 years agoremoved the state file renaming I accidentally left there
Daniel Stenberg [Mon, 9 Feb 2004 08:55:33 +0000 (08:55 +0000)]
removed the state file renaming I accidentally left there

20 years agosome annoying compilers warn about "(void)foo;" lines so we avoid them
Daniel Stenberg [Mon, 9 Feb 2004 08:34:19 +0000 (08:34 +0000)]
some annoying compilers warn about "(void)foo;" lines so we avoid them

20 years agoMake param2text() take an int argument, as that is what's being passed in.
Daniel Stenberg [Mon, 9 Feb 2004 08:31:52 +0000 (08:31 +0000)]
Make param2text() take an int argument, as that is what's being passed in.
This is made to prevent compiler warnings.

20 years agouse VAR_NONE instead of 0 in the table to prevent compiler warning
Daniel Stenberg [Mon, 9 Feb 2004 08:29:09 +0000 (08:29 +0000)]
use VAR_NONE instead of 0 in the table to prevent compiler warning

20 years agoreturn 'res' to better discover test failures and to stop compiler warnings
Daniel Stenberg [Mon, 9 Feb 2004 08:28:00 +0000 (08:28 +0000)]
return 'res' to better discover test failures and to stop compiler warnings
about it never being used

20 years agoUninitialized variable set.
Daniel Stenberg [Mon, 9 Feb 2004 08:25:48 +0000 (08:25 +0000)]
Uninitialized variable set.

20 years agoTor Arntsen's patch for working around a notorious bug in the AIX5
Daniel Stenberg [Mon, 9 Feb 2004 07:52:36 +0000 (07:52 +0000)]
Tor Arntsen's patch for working around a notorious bug in the AIX5
getaddrinfo() implementation.

20 years agoKen Rastatter's fixes to improve portability of this example:
Daniel Stenberg [Mon, 9 Feb 2004 07:12:33 +0000 (07:12 +0000)]
Ken Rastatter's fixes to improve portability of this example:

These minor changes remove portability issues with the this example and allow
it to run on Win32. Specifically:

* The use of pthread_create() has been replaced by g_thread_create(). This
removes the dependency on the pthreads library. Since this is an example using
GTK+, g_thread_create() is available as it is a part of glibc.

* The CURLOPT_FILE option is now referred to by its "newer name"
CURLOPT_WRITEDATA.

* The use of CURLOPT_WRITEFUNCTION has been added.  As described in the docs,
this avoids the crashes when using a DLL under Win32.

* The output file has been renamed from "/tmp/test.curl" to "test.curl". It's
unlikely that there is a /tmp when in Win32 and other examples in libcurl
write their output files to the working directory.

20 years agomingw configure fix, host: fix, compiler warnings in ldap.c
Daniel Stenberg [Fri, 6 Feb 2004 14:27:08 +0000 (14:27 +0000)]
mingw configure fix, host: fix, compiler warnings in ldap.c

20 years agoupdated with recent fixes
Daniel Stenberg [Fri, 6 Feb 2004 14:23:10 +0000 (14:23 +0000)]
updated with recent fixes

20 years agoThe Curl_strtoll() issue
Daniel Stenberg [Fri, 6 Feb 2004 14:17:30 +0000 (14:17 +0000)]
The Curl_strtoll() issue

20 years agoupdated
Daniel Stenberg [Fri, 6 Feb 2004 13:42:49 +0000 (13:42 +0000)]
updated

20 years agoRewrote the gethostbyname() check after Andrés García's provided patch
Daniel Stenberg [Fri, 6 Feb 2004 12:13:20 +0000 (12:13 +0000)]
Rewrote the gethostbyname() check after Andrés García's provided patch
for finding it using mingw on windows.
I also made the script skip the search for gethostbyname_r and gethostbyaddr_r
when ipv6 is enabled.

20 years agoAdded documentation of a few command line options that were still undocumented
Daniel Stenberg [Fri, 6 Feb 2004 10:17:13 +0000 (10:17 +0000)]
Added documentation of a few command line options that were still undocumented
here.

20 years agoA custom Host: header is only considered if the request is not made by
Daniel Stenberg [Fri, 6 Feb 2004 08:11:58 +0000 (08:11 +0000)]
A custom Host: header is only considered if the request is not made by
following a location. After discussions with Tim Baker.

20 years agoThe MIPSPro compiler complains on constructs such as "(void)foo;" so
Daniel Stenberg [Fri, 6 Feb 2004 07:59:16 +0000 (07:59 +0000)]
The MIPSPro compiler complains on constructs such as "(void)foo;" so
we avoid it where possible.

20 years agoMake sure DynaGetFunction() returns a function pointer, not a data pointer.
Daniel Stenberg [Fri, 6 Feb 2004 07:28:49 +0000 (07:28 +0000)]
Make sure DynaGetFunction() returns a function pointer, not a data pointer.
The standards don't actually allow typecasts between data and functions so
some picky compilers warn about this.

20 years agoRemove the attempt to detect if we already tested the same source setup.
Daniel Stenberg [Fri, 6 Feb 2004 07:15:27 +0000 (07:15 +0000)]
Remove the attempt to detect if we already tested the same source setup.
We really don't care, and so many other things could've changed to make the
new test interesting anyway.

20 years agonumerous things went in today
Daniel Stenberg [Thu, 5 Feb 2004 21:52:53 +0000 (21:52 +0000)]
numerous things went in today

20 years agoadded the missing stdin section
Daniel Stenberg [Thu, 5 Feb 2004 21:51:45 +0000 (21:51 +0000)]
added the missing stdin section

20 years agoAn attempt to only set both libz-related defines at the same time. We need
Daniel Stenberg [Thu, 5 Feb 2004 21:40:05 +0000 (21:40 +0000)]
An attempt to only set both libz-related defines at the same time. We need
both the lib and the header present for both defines to be set. If only one
of the files is found, we issue a warning and set no define.

20 years agoAndrés García's updates
Daniel Stenberg [Thu, 5 Feb 2004 21:03:53 +0000 (21:03 +0000)]
Andrés García's updates

20 years agoif an empty 'transfer-encoding:' header is provided, we switch off the
Daniel Stenberg [Thu, 5 Feb 2004 15:50:16 +0000 (15:50 +0000)]
if an empty 'transfer-encoding:' header is provided, we switch off the
chunky coding of uploads

20 years agoMade a test that sends data on stdin to PUT, with a given length and
Daniel Stenberg [Thu, 5 Feb 2004 15:21:46 +0000 (15:21 +0000)]
Made a test that sends data on stdin to PUT, with a given length and
chunked transfer-encoding disabled. Fixed to work after Len Krause's
bug report.

20 years agoGisle Vanem fixed a windows compiler warning
Daniel Stenberg [Thu, 5 Feb 2004 13:25:14 +0000 (13:25 +0000)]
Gisle Vanem fixed a windows compiler warning

20 years agochanged the test() function to return type int
Daniel Stenberg [Thu, 5 Feb 2004 12:34:17 +0000 (12:34 +0000)]
changed the test() function to return type int

20 years agoinclude process.h to get the _getpid() proto
Daniel Stenberg [Thu, 5 Feb 2004 12:19:13 +0000 (12:19 +0000)]
include process.h to get the _getpid() proto

20 years agowhen using --enable-debug and gcc, provide the -Wno-format-nonliteral option
Daniel Stenberg [Thu, 5 Feb 2004 10:38:32 +0000 (10:38 +0000)]
when using --enable-debug and gcc, provide the -Wno-format-nonliteral option
to prevent the warning in mprintf.c:

(currently line 930) "format not a string literal, argument types not checked"

20 years agooptions we get as longs need to be typecasted when assigned to prevent
Daniel Stenberg [Thu, 5 Feb 2004 09:38:56 +0000 (09:38 +0000)]
options we get as longs need to be typecasted when assigned to prevent
picky compiler warnings

20 years agofix return type to silence compiler warnings
Daniel Stenberg [Thu, 5 Feb 2004 09:38:10 +0000 (09:38 +0000)]
fix return type to silence compiler warnings

20 years agoprevent warning from that picky MIPSpro compiler
Daniel Stenberg [Thu, 5 Feb 2004 09:37:46 +0000 (09:37 +0000)]
prevent warning from that picky MIPSpro compiler

20 years agocompiler warning fix, compare struct pointers of the same type
Daniel Stenberg [Thu, 5 Feb 2004 09:37:04 +0000 (09:37 +0000)]
compiler warning fix, compare struct pointers of the same type

20 years agouse the timeout options when waiting for the server to connect when using
Daniel Stenberg [Thu, 5 Feb 2004 09:26:01 +0000 (09:26 +0000)]
use the timeout options when waiting for the server to connect when using
PORT
Provide better error messages to allow debugging if one if the ipv6-related
name functions fail in the ftp_use_port() function. This might help us
diagnose the problems on AIX. Also make sure getaddrinfo() uses NULL and
not "0" for the service argument.

20 years agohide the pack_hostent proto if ipv6 is enabled, as figured out by Tor Arntsen
Daniel Stenberg [Thu, 5 Feb 2004 08:34:31 +0000 (08:34 +0000)]
hide the pack_hostent proto if ipv6 is enabled, as figured out by Tor Arntsen

20 years agoFix the socklen_t type too. Needed only when built with memory debugging
Daniel Stenberg [Thu, 5 Feb 2004 08:27:47 +0000 (08:27 +0000)]
Fix the socklen_t type too. Needed only when built with memory debugging
as then we include the memdebug.h header from the lib dir, and it then
requires this type... (fails on IRIX 6.5 without this)

20 years agofixed "comparison between signed and unsigned" complaints
Daniel Stenberg [Wed, 4 Feb 2004 10:24:23 +0000 (10:24 +0000)]
fixed "comparison between signed and unsigned" complaints

20 years agodon't use 'sin' as variable name as the picky compiler warnings complain
Daniel Stenberg [Wed, 4 Feb 2004 10:23:15 +0000 (10:23 +0000)]
don't use 'sin' as variable name as the picky compiler warnings complain
about it shadowing the function sin()

20 years agofixing
Daniel Stenberg [Wed, 4 Feb 2004 09:16:05 +0000 (09:16 +0000)]
fixing

20 years agoprevent a compiler warning about a macro definition
Daniel Stenberg [Wed, 4 Feb 2004 08:04:28 +0000 (08:04 +0000)]
prevent a compiler warning about a macro definition

20 years agoprevent the windows version to use global symbol names
Daniel Stenberg [Wed, 4 Feb 2004 08:00:25 +0000 (08:00 +0000)]
prevent the windows version to use global symbol names
added prototypes for the strcasecmp() functions

20 years agowe use the more aggressive compiler warnings
Daniel Stenberg [Wed, 4 Feb 2004 07:54:42 +0000 (07:54 +0000)]
we use the more aggressive compiler warnings

20 years agomade more pointers unsigned, as they were mostly used passed in to functions
Daniel Stenberg [Wed, 4 Feb 2004 07:52:13 +0000 (07:52 +0000)]
made more pointers unsigned, as they were mostly used passed in to functions
that assume them to be unsigned. Stops compiler warnings.

20 years agotypecast comparision between signed and unsigned
Daniel Stenberg [Wed, 4 Feb 2004 07:51:30 +0000 (07:51 +0000)]
typecast comparision between signed and unsigned

20 years agotry_config() takes a second parameter as const, to prevent picky compiler
Daniel Stenberg [Wed, 4 Feb 2004 07:50:51 +0000 (07:50 +0000)]
try_config() takes a second parameter as const, to prevent picky compiler
warnings

20 years agotakes a void *, not a char * anymore
Daniel Stenberg [Wed, 4 Feb 2004 07:50:18 +0000 (07:50 +0000)]
takes a void *, not a char * anymore

20 years agoares_free_string() now takes a void * instead
Daniel Stenberg [Wed, 4 Feb 2004 07:49:33 +0000 (07:49 +0000)]
ares_free_string() now takes a void * instead

20 years agodon't compare signed and unsigned
Daniel Stenberg [Wed, 4 Feb 2004 07:48:46 +0000 (07:48 +0000)]
don't compare signed and unsigned

20 years agoadded a tags target
Daniel Stenberg [Wed, 4 Feb 2004 07:48:20 +0000 (07:48 +0000)]
added a tags target

20 years agonew configure file
Daniel Stenberg [Wed, 4 Feb 2004 07:48:00 +0000 (07:48 +0000)]
new configure file

20 years agouse configure.ac instead of configure.in
Daniel Stenberg [Wed, 4 Feb 2004 07:47:04 +0000 (07:47 +0000)]
use configure.ac instead of configure.in
support --enable-debug to switch on picky compiler options

20 years agostop a compiler warning
Daniel Stenberg [Wed, 4 Feb 2004 07:40:25 +0000 (07:40 +0000)]
stop a compiler warning

20 years agono one uses libcurl before 7.7 anyway...
Daniel Stenberg [Tue, 3 Feb 2004 15:59:06 +0000 (15:59 +0000)]
no one uses libcurl before 7.7 anyway...

20 years agolibcares.a is here
Daniel Stenberg [Tue, 3 Feb 2004 14:06:16 +0000 (14:06 +0000)]
libcares.a is here

20 years agolink with libcares instead of libares
Daniel Stenberg [Tue, 3 Feb 2004 13:58:38 +0000 (13:58 +0000)]
link with libcares instead of libares

20 years agoWe now produce 'libcares.a' instead, to make it possible to have both c-ares
Daniel Stenberg [Tue, 3 Feb 2004 13:58:08 +0000 (13:58 +0000)]
We now produce 'libcares.a' instead, to make it possible to have both c-ares
and the original ares installed in the same lib dir.

20 years agothe configure and memdebug fixes of yday
Daniel Stenberg [Tue, 3 Feb 2004 10:07:26 +0000 (10:07 +0000)]
the configure and memdebug fixes of yday

20 years agothe unused quit-function didn't pass a correct variable type to the
Daniel Stenberg [Tue, 3 Feb 2004 09:52:32 +0000 (09:52 +0000)]
the unused quit-function didn't pass a correct variable type to the
response reading function

20 years agoadd link to the new cares web site
Daniel Stenberg [Tue, 3 Feb 2004 09:40:19 +0000 (09:40 +0000)]
add link to the new cares web site

20 years agoadded notes about incompatible functions
Daniel Stenberg [Tue, 3 Feb 2004 09:16:40 +0000 (09:16 +0000)]
added notes about incompatible functions

20 years agoadjusted to the new single-parameter version of this function
Daniel Stenberg [Tue, 3 Feb 2004 08:58:10 +0000 (08:58 +0000)]
adjusted to the new single-parameter version of this function

20 years agoremoved odd newline
Daniel Stenberg [Tue, 3 Feb 2004 08:47:26 +0000 (08:47 +0000)]
removed odd newline

20 years agoadded the missing ares numerical version initialiser
Daniel Stenberg [Tue, 3 Feb 2004 06:39:37 +0000 (06:39 +0000)]
added the missing ares numerical version initialiser

20 years agomodified *strerror()
Daniel Stenberg [Tue, 3 Feb 2004 06:38:38 +0000 (06:38 +0000)]
modified *strerror()

20 years agoUse the nroff option figured out by the configure script. An attempt to
Daniel Stenberg [Mon, 2 Feb 2004 22:39:37 +0000 (22:39 +0000)]
Use the nroff option figured out by the configure script. An attempt to
make this better on more systems.

20 years agotry to figure out if -man or -mandoc works to get text with the NROFF
Daniel Stenberg [Mon, 2 Feb 2004 22:39:04 +0000 (22:39 +0000)]
try to figure out if -man or -mandoc works to get text with the NROFF
utility

20 years agoundef accept before defining it, since AIX 5.2 has it as a define!
Daniel Stenberg [Mon, 2 Feb 2004 21:34:01 +0000 (21:34 +0000)]
undef accept before defining it, since AIX 5.2 has it as a define!

20 years agomore test91 tweaks and some c-ares stuff
Daniel Stenberg [Mon, 2 Feb 2004 16:29:58 +0000 (16:29 +0000)]
more test91 tweaks and some c-ares stuff

20 years agonow provides c-ares version info in both version calls
Daniel Stenberg [Mon, 2 Feb 2004 16:24:41 +0000 (16:24 +0000)]
now provides c-ares version info in both version calls

20 years agoIntroducing the SECOND version of the version_info struct. This should
Daniel Stenberg [Mon, 2 Feb 2004 16:24:18 +0000 (16:24 +0000)]
Introducing the SECOND version of the version_info struct. This should
be backwards compatible with older libcurls just fine.

20 years agouse the new single-argument ares_strerror()
Daniel Stenberg [Mon, 2 Feb 2004 16:15:58 +0000 (16:15 +0000)]
use the new single-argument ares_strerror()

20 years agoadjusted to the modified ares_strerror() function
Daniel Stenberg [Mon, 2 Feb 2004 16:00:31 +0000 (16:00 +0000)]
adjusted to the modified ares_strerror() function

NOTE that this breaks ares-compatibility, we have now officially taken the
turn into the c-ares path. We will now officially depend on c-ares for asynch
name resolves.

20 years agoremove rcsid stuff from c files, it serves no useful purpose
Daniel Stenberg [Mon, 2 Feb 2004 15:59:35 +0000 (15:59 +0000)]
remove rcsid stuff from c files, it serves no useful purpose

20 years agoremoved the silly second argument to ares_strerror()
Daniel Stenberg [Mon, 2 Feb 2004 15:59:12 +0000 (15:59 +0000)]
removed the silly second argument to ares_strerror()

This breaks the API and ABI with the existing ares library. We hereby require
the upcoming c-ares 1.0 for asynch name resolves!

20 years agoDirk Manske fixed the ares usage even more. We could get a timeout from ares
Daniel Stenberg [Mon, 2 Feb 2004 15:53:50 +0000 (15:53 +0000)]
Dirk Manske fixed the ares usage even more. We could get a timeout from ares
as well, and when failing and not getting a timeout we now include the
error message ares can provide us with.

20 years agomention mpe/ix
Daniel Stenberg [Mon, 2 Feb 2004 15:34:09 +0000 (15:34 +0000)]
mention mpe/ix

20 years agoset the 'retry' bit to TRUE when the connection is about to be retried,
Daniel Stenberg [Mon, 2 Feb 2004 14:49:54 +0000 (14:49 +0000)]
set the 'retry' bit to TRUE when the connection is about to be retried,
this allows the HTTP code to *not* return a failure just because no data
has been received from the server

20 years agoclear the sockerror if no error was returned
Daniel Stenberg [Mon, 2 Feb 2004 14:49:10 +0000 (14:49 +0000)]
clear the sockerror if no error was returned

20 years agoares resolve timeout and ca bundle include fixes
Daniel Stenberg [Mon, 2 Feb 2004 12:46:58 +0000 (12:46 +0000)]
ares resolve timeout and ca bundle include fixes

20 years agowe include errno.h to truly know if we have ECONNRESET or not
Daniel Stenberg [Mon, 2 Feb 2004 11:59:42 +0000 (11:59 +0000)]
we include errno.h to truly know if we have ECONNRESET or not

20 years agoTimeout slow ares name lookups. This is based on the patch brought by
Daniel Stenberg [Mon, 2 Feb 2004 10:15:22 +0000 (10:15 +0000)]
Timeout slow ares name lookups. This is based on the patch brought by
Dirk Manske, but modified by me.

20 years agowhen including ca-bundle.h, don't look in the current dir first, simply use
Daniel Stenberg [Mon, 2 Feb 2004 10:13:54 +0000 (10:13 +0000)]
when including ca-bundle.h, don't look in the current dir first, simply use
the search path since we want the build-version rather than the one in the
source dir

20 years agofixed the win32 function to use the correct proto, as pointed out by Gisle
Daniel Stenberg [Mon, 2 Feb 2004 07:24:30 +0000 (07:24 +0000)]
fixed the win32 function to use the correct proto, as pointed out by Gisle
Vanem