Daniel Stenberg [Fri, 20 Feb 2004 16:41:50 +0000 (16:41 +0000)]
Gisle Vanem brings name resolving timeout possibilities to windows people.
This works by magicly starting up a new thread that can be killed when the
timeout is reached. testtesttest!
Daniel Stenberg [Fri, 20 Feb 2004 10:11:50 +0000 (10:11 +0000)]
Only use -Wstrict-prototypes with gcc 3.3 or later.
It is working with earlier versions, but when I use it with 3.0.3, I can't
get it to ignore errors in "system headers" with -isystem so we get
excessive amounts of warnings on SSL headers which is very annoying.
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 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 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 [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 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 [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 [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: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.