1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-16 06:25:03 -05:00
Commit Graph

4663 Commits

Author SHA1 Message Date
Daniel Stenberg
d25a0a1bc8 return an int, not a CURLcode 2004-02-13 12:17:42 +00:00
Daniel Stenberg
4d17e77532 use CURLcode, not int, prevents picky compilers to warn 2004-02-13 12:16:24 +00:00
Daniel Stenberg
6a921197e2 the now and start variables were never really used 2004-02-13 12:13:30 +00:00
Daniel Stenberg
fa57a8a78e 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.
2004-02-13 09:50:23 +00:00
Daniel Stenberg
eb4d65d0ba Tor Arntsen made the ares build warnings etc get included as well 2004-02-13 07:15:36 +00:00
Daniel Stenberg
e7d9ea8919 Greg Hewgill found out 'contentlength' wasn't big enough to hold a large file! 2004-02-13 07:12:40 +00:00
Daniel Stenberg
372b141d5b make the path const 2004-02-13 07:05:15 +00:00
Daniel Stenberg
115e74a8ad 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.
2004-02-13 07:03:03 +00:00
Daniel Stenberg
1b26fe39f9 Tor Arntsen's fix for the bad (64bit wise) typecast when using gmtime() 2004-02-13 06:59:49 +00:00
Daniel Stenberg
4674f3f115 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.
2004-02-12 16:02:55 +00:00
Daniel Stenberg
d8a1415646 up to date with recent fixes 2004-02-12 15:50:38 +00:00
Daniel Stenberg
773e7e871e 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.
2004-02-12 15:05:38 +00:00
Daniel Stenberg
1d937d62c0 support configure --disable-manual 2004-02-12 14:46:12 +00:00
Daniel Stenberg
f3663a9d0f added --enable/disable-manual 2004-02-12 14:45:50 +00:00
Daniel Stenberg
199b2f4602 no need to run make test in the data dir anymore 2004-02-12 14:43:13 +00:00
Daniel Stenberg
49ab1d914c provide a source path to the servers to make them find the tests when run
outside the source dir, not needing any symlinks
2004-02-12 14:40:08 +00:00
Daniel Stenberg
f9a6e7b68d stop doing the weirdo symlinks 2004-02-12 14:39:28 +00:00
Daniel Stenberg
5d64d657de removed the subchar variable, it was only set and never used 2004-02-12 09:53:03 +00:00
Daniel Stenberg
52caba0417 removed the ldaptext variable, it was only set and never used 2004-02-12 09:51:43 +00:00
Daniel Stenberg
ad1a70205f removed the nth variable, it was only set and never used anyway 2004-02-12 09:50:44 +00:00
Daniel Stenberg
d57eed6f22 No longer receive the return code in ConnectionKillOne() that wasn't dealt
with anyway and thus caused picky compiler to warn.
2004-02-12 09:48:27 +00:00
Daniel Stenberg
a3d39efa3b Andrés García's additional fix to make the OpenSSL stuff work for msys/mingw 2004-02-11 21:14:54 +00:00
Daniel Stenberg
50efb8f33e #if-check for SIGALRM before assuming it is present 2004-02-11 21:11:08 +00:00
Daniel Stenberg
ad75360ec7 use libtoolize --force to overwrite existing (older) files 2004-02-11 13:08:38 +00:00
Daniel Stenberg
7f29bf61e2 install ares_version.h as well 2004-02-11 12:59:16 +00:00
Daniel Stenberg
9ca395fded Dirk Manske's fix to install ares_version.h as well 2004-02-11 12:58:43 +00:00
Daniel Stenberg
68e140b2eb mondays are busy days catching up with the patches from the weekend! ;-) 2004-02-09 16:16:05 +00:00
Daniel Stenberg
283f68f660 Dominick Meglio's update 2004-02-09 13:51:52 +00:00
Daniel Stenberg
e6947f99ed recent updates 2004-02-09 13:41:24 +00:00
Daniel Stenberg
93e32e6f62 Modified the default HTTP Accept: header to only be Accept: */* 2004-02-09 12:46:41 +00:00
Daniel Stenberg
f8a5ec1380 Removed, this was only used to work out what went wrong with test 91, and
we seem to have nailed that one now!
2004-02-09 11:41:07 +00:00
Daniel Stenberg
2d0b2f294f Oops. I broke the flow with the previous commit. 2004-02-09 11:40:00 +00:00
Daniel Stenberg
08e286ed68 P R Schaffner updated this to work for 7.11.0 2004-02-09 10:24:55 +00:00
Daniel Stenberg
220caed248 Dominick Meglio's added share interface documentation 2004-02-09 09:07:26 +00:00
Daniel Stenberg
6eb0b5b917 removed the state file renaming I accidentally left there 2004-02-09 08:55:33 +00:00
Daniel Stenberg
3bdc883c93 some annoying compilers warn about "(void)foo;" lines so we avoid them 2004-02-09 08:34:19 +00:00
Daniel Stenberg
cc85f813d1 Make param2text() take an int argument, as that is what's being passed in.
This is made to prevent compiler warnings.
2004-02-09 08:31:52 +00:00
Daniel Stenberg
e723d2eb7c use VAR_NONE instead of 0 in the table to prevent compiler warning 2004-02-09 08:29:09 +00:00
Daniel Stenberg
b440c6638f return 'res' to better discover test failures and to stop compiler warnings
about it never being used
2004-02-09 08:28:00 +00:00
Daniel Stenberg
648c5b05c0 Uninitialized variable set. 2004-02-09 08:25:48 +00:00
Daniel Stenberg
011929cf4d Tor Arntsen's patch for working around a notorious bug in the AIX5
getaddrinfo() implementation.
2004-02-09 07:52:36 +00:00
Daniel Stenberg
7f679c3da3 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.
2004-02-09 07:12:33 +00:00
Daniel Stenberg
3e4cd0b422 mingw configure fix, host: fix, compiler warnings in ldap.c 2004-02-06 14:27:08 +00:00
Daniel Stenberg
fc4f777b42 updated with recent fixes 2004-02-06 14:23:10 +00:00
Daniel Stenberg
208a31f549 The Curl_strtoll() issue 2004-02-06 14:17:30 +00:00
Daniel Stenberg
e565631afe updated 2004-02-06 13:42:49 +00:00
Daniel Stenberg
9f2780a2ee 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.
2004-02-06 12:13:20 +00:00
Daniel Stenberg
1a6969a887 Added documentation of a few command line options that were still undocumented
here.
2004-02-06 10:17:13 +00:00
Daniel Stenberg
f56d753507 A custom Host: header is only considered if the request is not made by
following a location. After discussions with Tim Baker.
2004-02-06 08:11:58 +00:00
Daniel Stenberg
e5165af5a6 The MIPSPro compiler complains on constructs such as "(void)foo;" so
we avoid it where possible.
2004-02-06 07:59:16 +00:00