Daniel Stenberg [Mon, 16 Feb 2004 15:24:22 +0000 (15:24 +0000)]
Make the 'areschannel' get created in the curl_easy_init() and re-use that
same channel during the whole curl handle's life until curl_easy_cleanup().
Daniel Stenberg [Mon, 16 Feb 2004 13:36:08 +0000 (13:36 +0000)]
updates
Daniel Stenberg [Mon, 16 Feb 2004 13:33:41 +0000 (13:33 +0000)]
verbose-fix, socks5-fix, dnscache-fix, configure-winmmlib-fix
Daniel Stenberg [Mon, 16 Feb 2004 13:14:55 +0000 (13:14 +0000)]
Fix verbosconnect() when ipv6-enabled to not assume that conn->serv_addr
is a valid pointer, but instead always depend on the passed-in dns pointer.
This happens to be NULL when the connection is re-used...
Daniel Stenberg [Mon, 16 Feb 2004 09:56:18 +0000 (09:56 +0000)]
removed usage of a silly macro instead of the actual functions memcpy
and memset
Daniel Stenberg [Mon, 16 Feb 2004 07:33:30 +0000 (07:33 +0000)]
Jeff Lawson pointed out that we need to check for a '5' in the version field
to properly work with SOCKS5 proxies. I also included some ascii art describing
the SOCKS5 response, as RFC1928 describes. Jeff provided details in bug
report #741841 and here: http://curl.haxx.se/mail/lib-2004-02/0181.html
Daniel Stenberg [Sun, 15 Feb 2004 22:34:58 +0000 (22:34 +0000)]
Andrés García added a check for lwinmm for Mingw/sys
Daniel Stenberg [Sun, 15 Feb 2004 16:57:53 +0000 (16:57 +0000)]
Mark the dns entry 'inuse' properly even when used from the cache. This
seems to correct some host cache screw-ups I could reproduce.
Daniel Stenberg [Sun, 15 Feb 2004 13:58:57 +0000 (13:58 +0000)]
another case which should use CURLcode and not int
Daniel Stenberg [Sun, 15 Feb 2004 13:55:24 +0000 (13:55 +0000)]
Use the was_iface variable when binding a socket locally, even if no
SO_BINDTODEVICE is present, to prevent compiler warnings about the variable
Daniel Stenberg [Sun, 15 Feb 2004 13:51:07 +0000 (13:51 +0000)]
bind interface and large file fixes
Daniel Stenberg [Sun, 15 Feb 2004 13:50:04 +0000 (13:50 +0000)]
recent fixes
Daniel Stenberg [Sun, 15 Feb 2004 13:48:50 +0000 (13:48 +0000)]
(void) functions we don't check the return code for
Daniel Stenberg [Sun, 15 Feb 2004 13:48:28 +0000 (13:48 +0000)]
CURLcode/int cleanup to reduce IRIX warnings
Removed some dates/names in the comments.
Daniel Stenberg [Sun, 15 Feb 2004 13:47:32 +0000 (13:47 +0000)]
spell!
Daniel Stenberg [Sun, 15 Feb 2004 12:30:40 +0000 (12:30 +0000)]
don't assume we can use gcc 2.96+ options
Daniel Stenberg [Fri, 13 Feb 2004 12:42:37 +0000 (12:42 +0000)]
in the socks code, make sure we receive Curl_read results in ints and
Curl_write in CURLcode, to keep the picky compilers happy
Daniel Stenberg [Fri, 13 Feb 2004 12:28:27 +0000 (12:28 +0000)]
removed usage of unset variables (by a function that does nothing!)
Daniel Stenberg [Fri, 13 Feb 2004 12:18:34 +0000 (12:18 +0000)]
return an int
Daniel Stenberg [Fri, 13 Feb 2004 12:17:42 +0000 (12:17 +0000)]
return an int, not a CURLcode
Daniel Stenberg [Fri, 13 Feb 2004 12:16:24 +0000 (12:16 +0000)]
use CURLcode, not int, prevents picky compilers to warn
Daniel Stenberg [Fri, 13 Feb 2004 12:13:30 +0000 (12:13 +0000)]
the now and start variables were never really used
Daniel Stenberg [Fri, 13 Feb 2004 09:50:23 +0000 (09:50 +0000)]
Ben Greear's SO_BINDTODEVICE patch that binds to a network interface "even
more" when the previous approach. Known to work on Linux, possibly on other
platforms as well.
Daniel Stenberg [Fri, 13 Feb 2004 07:15:36 +0000 (07:15 +0000)]
Tor Arntsen made the ares build warnings etc get included as well
Daniel Stenberg [Fri, 13 Feb 2004 07:12:40 +0000 (07:12 +0000)]
Greg Hewgill found out 'contentlength' wasn't big enough to hold a large file!
Daniel Stenberg [Fri, 13 Feb 2004 07:05:15 +0000 (07:05 +0000)]
make the path const
Daniel Stenberg [Fri, 13 Feb 2004 07:03:03 +0000 (07:03 +0000)]
I made the same fix here, that Tor already did in the ftp.c code. To make
sure this doesn't get weird on 64bit archs.
Daniel Stenberg [Fri, 13 Feb 2004 06:59:49 +0000 (06:59 +0000)]
Tor Arntsen's fix for the bad (64bit wise) typecast when using gmtime()
Daniel Stenberg [Thu, 12 Feb 2004 16:02:55 +0000 (16:02 +0000)]
Make hostcache_fixoffset() take a long for offset, to fully work with 64bit
archs, also no longer typecast pointers to ints as that is a nono on 64bit
systems.
Daniel Stenberg [Thu, 12 Feb 2004 15:50:38 +0000 (15:50 +0000)]
up to date with recent fixes
Daniel Stenberg [Thu, 12 Feb 2004 15:05:38 +0000 (15:05 +0000)]
If no nroff tool is found, or if no command line switch to nroff that converts
a man page to text is found, we disable the built-in manual stuff to still
be able to build.
Daniel Stenberg [Thu, 12 Feb 2004 14:46:12 +0000 (14:46 +0000)]
support configure --disable-manual
Daniel Stenberg [Thu, 12 Feb 2004 14:45:50 +0000 (14:45 +0000)]
added --enable/disable-manual
Daniel Stenberg [Thu, 12 Feb 2004 14:43:13 +0000 (14:43 +0000)]
no need to run make test in the data dir anymore
Daniel Stenberg [Thu, 12 Feb 2004 14:40:08 +0000 (14:40 +0000)]
provide a source path to the servers to make them find the tests when run
outside the source dir, not needing any symlinks
Daniel Stenberg [Thu, 12 Feb 2004 14:39:28 +0000 (14:39 +0000)]
stop doing the weirdo symlinks
Daniel Stenberg [Thu, 12 Feb 2004 09:53:03 +0000 (09:53 +0000)]
removed the subchar 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
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
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.
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
Daniel Stenberg [Wed, 11 Feb 2004 21:11:08 +0000 (21:11 +0000)]
#if-check for SIGALRM before assuming it is present
Daniel Stenberg [Wed, 11 Feb 2004 13:08:38 +0000 (13:08 +0000)]
use libtoolize --force to overwrite existing (older) files
Daniel Stenberg [Wed, 11 Feb 2004 12:59:16 +0000 (12:59 +0000)]
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
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! ;-)
Daniel Stenberg [Mon, 9 Feb 2004 13:51:52 +0000 (13:51 +0000)]
Dominick Meglio's update
Daniel Stenberg [Mon, 9 Feb 2004 13:41:24 +0000 (13:41 +0000)]
recent updates
Daniel Stenberg [Mon, 9 Feb 2004 12:46:41 +0000 (12:46 +0000)]
Modified the default HTTP Accept: header to only be Accept: */*
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!
Daniel Stenberg [Mon, 9 Feb 2004 11:40:00 +0000 (11:40 +0000)]
Oops. I broke the flow with the previous commit.
Daniel Stenberg [Mon, 9 Feb 2004 10:24:55 +0000 (10:24 +0000)]
P R Schaffner updated this to work for 7.11.0
Daniel Stenberg [Mon, 9 Feb 2004 09:07:26 +0000 (09:07 +0000)]
Dominick Meglio's added share interface documentation
Daniel Stenberg [Mon, 9 Feb 2004 08:55:33 +0000 (08:55 +0000)]
removed the state file renaming I accidentally left there
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
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.
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
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
Daniel Stenberg [Mon, 9 Feb 2004 08:25:48 +0000 (08:25 +0000)]
Uninitialized variable set.
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.
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.
Daniel Stenberg [Fri, 6 Feb 2004 14:27:08 +0000 (14:27 +0000)]
mingw configure fix, host: fix, compiler warnings in ldap.c
Daniel Stenberg [Fri, 6 Feb 2004 14:23:10 +0000 (14:23 +0000)]
updated with recent fixes
Daniel Stenberg [Fri, 6 Feb 2004 14:17:30 +0000 (14:17 +0000)]
The Curl_strtoll() issue
Daniel Stenberg [Fri, 6 Feb 2004 13:42:49 +0000 (13:42 +0000)]
updated
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.
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.
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.
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.
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.
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.
Daniel Stenberg [Thu, 5 Feb 2004 21:52:53 +0000 (21:52 +0000)]
numerous things went in today
Daniel Stenberg [Thu, 5 Feb 2004 21:51:45 +0000 (21:51 +0000)]
added the missing stdin section
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.
Daniel Stenberg [Thu, 5 Feb 2004 21:03:53 +0000 (21:03 +0000)]
Andrés García's updates
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
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.
Daniel Stenberg [Thu, 5 Feb 2004 13:25:14 +0000 (13:25 +0000)]
Gisle Vanem fixed a windows compiler warning
Daniel Stenberg [Thu, 5 Feb 2004 12:34:17 +0000 (12:34 +0000)]
changed the test() function to return type int
Daniel Stenberg [Thu, 5 Feb 2004 12:19:13 +0000 (12:19 +0000)]
include process.h to get the _getpid() proto
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"
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
Daniel Stenberg [Thu, 5 Feb 2004 09:38:10 +0000 (09:38 +0000)]
fix return type to silence compiler warnings
Daniel Stenberg [Thu, 5 Feb 2004 09:37:46 +0000 (09:37 +0000)]
prevent warning from that picky MIPSpro compiler
Daniel Stenberg [Thu, 5 Feb 2004 09:37:04 +0000 (09:37 +0000)]
compiler warning fix, compare struct pointers of the same type
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.
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
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)
Daniel Stenberg [Wed, 4 Feb 2004 10:24:23 +0000 (10:24 +0000)]
fixed "comparison between signed and unsigned" complaints
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()
Daniel Stenberg [Wed, 4 Feb 2004 09:16:05 +0000 (09:16 +0000)]
fixing
Daniel Stenberg [Wed, 4 Feb 2004 08:04:28 +0000 (08:04 +0000)]
prevent a compiler warning about a macro definition
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
Daniel Stenberg [Wed, 4 Feb 2004 07:54:42 +0000 (07:54 +0000)]
we use the more aggressive compiler warnings
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.
Daniel Stenberg [Wed, 4 Feb 2004 07:51:30 +0000 (07:51 +0000)]
typecast comparision between signed and unsigned
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
Daniel Stenberg [Wed, 4 Feb 2004 07:50:18 +0000 (07:50 +0000)]
takes a void *, not a char * anymore
Daniel Stenberg [Wed, 4 Feb 2004 07:49:33 +0000 (07:49 +0000)]
ares_free_string() now takes a void * instead
Daniel Stenberg [Wed, 4 Feb 2004 07:48:46 +0000 (07:48 +0000)]
don't compare signed and unsigned