1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-19 07:55:02 -05:00
Commit Graph

6337 Commits

Author SHA1 Message Date
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 Andrs Garca'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
Daniel Stenberg
83e878420a 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.
2004-02-06 07:28:49 +00:00
Daniel Stenberg
58a5f485db 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.
2004-02-06 07:15:27 +00:00
Daniel Stenberg
e8fb77fac3 numerous things went in today 2004-02-05 21:52:53 +00:00
Daniel Stenberg
d292088a83 added the missing stdin section 2004-02-05 21:51:45 +00:00
Daniel Stenberg
de100f8b51 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.
2004-02-05 21:40:05 +00:00
Daniel Stenberg
1cb2306ae0 Andrs Garca's updates 2004-02-05 21:03:53 +00:00
Daniel Stenberg
cc90a235f4 if an empty 'transfer-encoding:' header is provided, we switch off the
chunky coding of uploads
2004-02-05 15:50:16 +00:00
Daniel Stenberg
e97ce57d0b 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.
2004-02-05 15:21:46 +00:00
Daniel Stenberg
dc753b8315 Gisle Vanem fixed a windows compiler warning 2004-02-05 13:25:14 +00:00
Daniel Stenberg
a5c4442ebf changed the test() function to return type int 2004-02-05 12:34:17 +00:00
Daniel Stenberg
a271cfb697 include process.h to get the _getpid() proto 2004-02-05 12:19:13 +00:00
Daniel Stenberg
6dffe9702d 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"
2004-02-05 10:38:32 +00:00
Daniel Stenberg
f71139750d options we get as longs need to be typecasted when assigned to prevent
picky compiler warnings
2004-02-05 09:38:56 +00:00
Daniel Stenberg
690b3e58b2 fix return type to silence compiler warnings 2004-02-05 09:38:10 +00:00
Daniel Stenberg
0c7cb0c10f prevent warning from that picky MIPSpro compiler 2004-02-05 09:37:46 +00:00
Daniel Stenberg
4816294f52 compiler warning fix, compare struct pointers of the same type 2004-02-05 09:37:04 +00:00
Daniel Stenberg
6587ff440a 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.
2004-02-05 09:26:01 +00:00
Daniel Stenberg
791e49134b hide the pack_hostent proto if ipv6 is enabled, as figured out by Tor Arntsen 2004-02-05 08:34:31 +00:00
Daniel Stenberg
9254c3a103 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)
2004-02-05 08:27:47 +00:00
Daniel Stenberg
9c95ebcbe7 fixed "comparison between signed and unsigned" complaints 2004-02-04 10:24:23 +00:00
Daniel Stenberg
3a4ed71b88 don't use 'sin' as variable name as the picky compiler warnings complain
about it shadowing the function sin()
2004-02-04 10:23:15 +00:00
Daniel Stenberg
d6d312d550 fixing 2004-02-04 09:16:05 +00:00
Daniel Stenberg
1fa163fdf7 prevent a compiler warning about a macro definition 2004-02-04 08:04:28 +00:00
Daniel Stenberg
82b27d1b97 prevent the windows version to use global symbol names
added prototypes for the strcasecmp() functions
2004-02-04 08:00:25 +00:00
Daniel Stenberg
f7dee3b846 we use the more aggressive compiler warnings 2004-02-04 07:54:42 +00:00
Daniel Stenberg
a7b5045598 made more pointers unsigned, as they were mostly used passed in to functions
that assume them to be unsigned. Stops compiler warnings.
2004-02-04 07:52:13 +00:00