Daniel Stenberg [Fri, 20 Feb 2004 07:14:58 +0000 (07:14 +0000)]
%HTTPPORT supported in subVariables
Daniel Stenberg [Fri, 20 Feb 2004 07:05:10 +0000 (07:05 +0000)]
mention what ports the test suite uses
Daniel Stenberg [Fri, 20 Feb 2004 06:59:17 +0000 (06:59 +0000)]
When trying to see if there's a friendly http server on "our" port, we
only accept return code 7 to indicate that there's no server present.
Daniel Stenberg [Thu, 19 Feb 2004 21:34:52 +0000 (21:34 +0000)]
-Wcast-align is a bit too annoying
Daniel Stenberg [Thu, 19 Feb 2004 21:32:19 +0000 (21:32 +0000)]
Anything that looks like gcc 5.0 or more is no longer treated as gcc. I hope
this will make us exclude icc 8.0 etc.
Daniel Stenberg [Thu, 19 Feb 2004 21:21:12 +0000 (21:21 +0000)]
refer to FILEFORMAT
Daniel Stenberg [Thu, 19 Feb 2004 19:25:11 +0000 (19:25 +0000)]
When --enable-debug is used, for every -I provided to $CPPFLAGS we add
a corresponding -isystem, if using gcc, to inhibit warnings on those
headers.
Daniel Stenberg [Thu, 19 Feb 2004 16:24:22 +0000 (16:24 +0000)]
Tor Arntsen's tiny fix!
Daniel Stenberg [Thu, 19 Feb 2004 15:58:58 +0000 (15:58 +0000)]
if not yacc or bison is found, check if we *really* need it, and if we do
we bail out!
Daniel Stenberg [Thu, 19 Feb 2004 15:39:06 +0000 (15:39 +0000)]
fixed the no-ssl version to return int as well
Daniel Stenberg [Thu, 19 Feb 2004 13:03:04 +0000 (13:03 +0000)]
provide protos to the functions to prevent warnings
Daniel Stenberg [Thu, 19 Feb 2004 13:00:33 +0000 (13:00 +0000)]
typecast the type to an int on return
Daniel Stenberg [Thu, 19 Feb 2004 13:00:05 +0000 (13:00 +0000)]
return int from test()
Daniel Stenberg [Thu, 19 Feb 2004 12:59:57 +0000 (12:59 +0000)]
provide a test() proto
Daniel Stenberg [Thu, 19 Feb 2004 12:56:45 +0000 (12:56 +0000)]
use a die and a log function to die and log texts
better detect test suite failures
remove the buildlog at exit
make a random buildlog file name, now in the same dir where the build dir
is created
checks if the ares build succeeded
Daniel Stenberg [Thu, 19 Feb 2004 12:10:07 +0000 (12:10 +0000)]
remove the build.log too at exit, and also use the proper $pwd prefix
to find the files/dirs to remove so that it still works if we "die" after
having done a 'cd'
Daniel Stenberg [Thu, 19 Feb 2004 10:21:54 +0000 (10:21 +0000)]
very minor phrase edit
Daniel Stenberg [Thu, 19 Feb 2004 10:21:43 +0000 (10:21 +0000)]
fixes from the recent days
Daniel Stenberg [Thu, 19 Feb 2004 09:33:59 +0000 (09:33 +0000)]
check for standard headers when --enable-debug is used
Daniel Stenberg [Thu, 19 Feb 2004 09:22:00 +0000 (09:22 +0000)]
Doug Porter's patch that changes the order of preferences on how to find the
default netrc file. We now read and uses HOME _before_ we use getpwuid() to
better allow users to move around HOME to use different .netrc files without
having to rely on even blacker magic.
Daniel Stenberg [Thu, 19 Feb 2004 09:01:13 +0000 (09:01 +0000)]
If --enable-debug is used and gcc, we figure out which version and then we
use as aggressive warning options as possible for the used compiler version.
Daniel Stenberg [Thu, 19 Feb 2004 08:19:21 +0000 (08:19 +0000)]
item 19 is considered fixed until we get to hear differently
item 25 is now dealt with using the curlx_ prefix, mentioned in detail here:
http://curl.haxx.se/mail/lib-2004-02/0215.html
Daniel Stenberg [Thu, 19 Feb 2004 08:13:20 +0000 (08:13 +0000)]
Use the strtoofft.h header file from the lib directory, as we are now
officially using library-code when building the app (at least for the platforms
that don't have a strtoll() on their own).
Daniel Stenberg [Thu, 19 Feb 2004 08:12:13 +0000 (08:12 +0000)]
Remade to use curlx_-prefix. This means this function can be compiled and
linked separately by the application. This function is not provided by the
libcurl API. It can only be accessed by apps if they compile and use this
particular source code.
Daniel Stenberg [Wed, 18 Feb 2004 16:16:13 +0000 (16:16 +0000)]
AIX and Tru64 have what Tor calls "horribly broken 'which' programs" so we
now scan the PATH ourself to find the path to (g)libtool
Daniel Stenberg [Wed, 18 Feb 2004 15:28:56 +0000 (15:28 +0000)]
removed some "jhrg" from comments
Daniel Stenberg [Wed, 18 Feb 2004 12:26:27 +0000 (12:26 +0000)]
I removed the socklen_t requirement from memdebug.h, so we don't need to
figure it out here anymore to build debug builds.
Daniel Stenberg [Wed, 18 Feb 2004 12:22:56 +0000 (12:22 +0000)]
Made curl_accept() take a 'void *' instead of 'socklen_t *' in the 3rd
argument to also not force the casual includer to know about the socklen_t
type.
Daniel Stenberg [Wed, 18 Feb 2004 12:18:33 +0000 (12:18 +0000)]
Modified curl_accept() to take a 'void *' in the 2nd argument instead of
sockaddr *. This has the added benefit that source files that include
memdebug.h doesn't have to know about "sockaddr".
Daniel Stenberg [Wed, 18 Feb 2004 10:05:17 +0000 (10:05 +0000)]
No longer uses the 'ret' variable in the plain ipv4-version of
my_getaddrinfo() (caused a warning by the IRIX MIPSPro compiler). Also
clarified the situation for the 3-arg version of gethostbyname_r() with a huge
comment.
Daniel Stenberg [Wed, 18 Feb 2004 09:07:50 +0000 (09:07 +0000)]
The --enable-debug option really requires this to be built as part of curl.
When using it, we now set the include path to better find the devel curl
headers, and we check for the socklen_t type since the curl memdebug stuff
needs it.
Daniel Stenberg [Wed, 18 Feb 2004 08:35:51 +0000 (08:35 +0000)]
simplified and better commented config.h include logic
Daniel Stenberg [Wed, 18 Feb 2004 07:56:18 +0000 (07:56 +0000)]
Make sure dns cache timeout -1 really means forever, as it is documented to
be. Simply skip the pruning.
Daniel Stenberg [Tue, 17 Feb 2004 13:46:00 +0000 (13:46 +0000)]
fix the help text for --manual if built without manual
Daniel Stenberg [Tue, 17 Feb 2004 07:57:31 +0000 (07:57 +0000)]
ignore more
Daniel Stenberg [Tue, 17 Feb 2004 07:41:10 +0000 (07:41 +0000)]
memdebug build, 'make' no longer builds the demo tools
Daniel Stenberg [Tue, 17 Feb 2004 07:40:46 +0000 (07:40 +0000)]
'make all' also builds the demos
Daniel Stenberg [Tue, 17 Feb 2004 07:40:31 +0000 (07:40 +0000)]
include ares_private.h to make sure we get the memdebug stuff included
Daniel Stenberg [Tue, 17 Feb 2004 07:40:02 +0000 (07:40 +0000)]
If CURLDEBUG is set we use the libcurl internal memdebug system to track
memory leaks etc.
Daniel Stenberg [Mon, 16 Feb 2004 16:27:18 +0000 (16:27 +0000)]
only build adig and ahost if 'make demos' is used
Daniel Stenberg [Mon, 16 Feb 2004 16:24:01 +0000 (16:24 +0000)]
support closesocket() for closing sockets as well, as then we can use this
code fine on ares!
Daniel Stenberg [Mon, 16 Feb 2004 16:23:19 +0000 (16:23 +0000)]
Make realloc() support NULL as pointer. Made to allow us to use these routines
to memdebug the ares stuff as well.
Daniel Stenberg [Mon, 16 Feb 2004 15:27:40 +0000 (15:27 +0000)]
item 24 fixed, edited a few issues
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