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

4626 Commits

Author SHA1 Message Date
Daniel Stenberg
224ccc780a added getpart.h for the spitout() proto 2004-02-20 07:19:01 +00:00
Daniel Stenberg
ccde85d198 %HTTPPORT supported in subVariables 2004-02-20 07:14:58 +00:00
Daniel Stenberg
9e7657d6ed mention what ports the test suite uses 2004-02-20 07:05:10 +00:00
Daniel Stenberg
7ac455fca3 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.
2004-02-20 06:59:17 +00:00
Daniel Stenberg
e295cd759c -Wcast-align is a bit too annoying 2004-02-19 21:34:52 +00:00
Daniel Stenberg
a472cd9310 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.
2004-02-19 21:32:19 +00:00
Daniel Stenberg
8794cb286b refer to FILEFORMAT 2004-02-19 21:21:12 +00:00
Daniel Stenberg
455b1af214 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.
2004-02-19 19:25:11 +00:00
Daniel Stenberg
d765a00adb Tor Arntsen's tiny fix! 2004-02-19 16:24:22 +00:00
Daniel Stenberg
de37308722 if not yacc or bison is found, check if we *really* need it, and if we do
we bail out!
2004-02-19 15:58:58 +00:00
Daniel Stenberg
7729c63be0 fixed the no-ssl version to return int as well 2004-02-19 15:39:06 +00:00
Daniel Stenberg
eebcf90942 provide protos to the functions to prevent warnings 2004-02-19 13:03:04 +00:00
Daniel Stenberg
fa8ecd3d53 typecast the type to an int on return 2004-02-19 13:00:33 +00:00
Daniel Stenberg
134cb66129 return int from test() 2004-02-19 13:00:05 +00:00
Daniel Stenberg
349a15b089 provide a test() proto 2004-02-19 12:59:57 +00:00
Daniel Stenberg
c14fa2c935 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
2004-02-19 12:56:45 +00:00
Daniel Stenberg
6ca7af3419 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'
2004-02-19 12:10:07 +00:00
Daniel Stenberg
afa5924487 very minor phrase edit 2004-02-19 10:21:54 +00:00
Daniel Stenberg
bd63a557f3 fixes from the recent days 2004-02-19 10:21:43 +00:00
Daniel Stenberg
49aa798082 check for standard headers when --enable-debug is used 2004-02-19 09:33:59 +00:00
Daniel Stenberg
c6e5b67197 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.
2004-02-19 09:22:00 +00:00
Daniel Stenberg
e7050f97c4 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.
2004-02-19 09:01:13 +00:00
Daniel Stenberg
b28f3d43bf 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
2004-02-19 08:19:21 +00:00
Daniel Stenberg
edd467a12c 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).
2004-02-19 08:13:20 +00:00
Daniel Stenberg
0bf1bd51c4 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.
2004-02-19 08:12:13 +00:00
Daniel Stenberg
4cf70e3069 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
2004-02-18 16:16:13 +00:00
Daniel Stenberg
9efddfedab removed some "jhrg" from comments 2004-02-18 15:28:56 +00:00
Daniel Stenberg
4b11e19f26 I removed the socklen_t requirement from memdebug.h, so we don't need to
figure it out here anymore to build debug builds.
2004-02-18 12:26:27 +00:00
Daniel Stenberg
de681d3b8f 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.
2004-02-18 12:22:56 +00:00
Daniel Stenberg
f33be3c313 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".
2004-02-18 12:18:33 +00:00
Daniel Stenberg
62a12b7faf 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.
2004-02-18 10:05:17 +00:00
Daniel Stenberg
e75ab79bdb 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.
2004-02-18 09:07:50 +00:00
Daniel Stenberg
abd7e32c66 simplified and better commented config.h include logic 2004-02-18 08:35:51 +00:00
Daniel Stenberg
e2b6a45cfa Make sure dns cache timeout -1 really means forever, as it is documented to
be. Simply skip the pruning.
2004-02-18 07:56:18 +00:00
Daniel Stenberg
e0c0b2ba7d fix the help text for --manual if built without manual 2004-02-17 13:46:00 +00:00
Daniel Stenberg
debbcf81bb ignore more 2004-02-17 07:57:31 +00:00
Daniel Stenberg
8300a880cc memdebug build, 'make' no longer builds the demo tools 2004-02-17 07:41:10 +00:00
Daniel Stenberg
420bbd2e08 'make all' also builds the demos 2004-02-17 07:40:46 +00:00
Daniel Stenberg
d87981e4c1 include ares_private.h to make sure we get the memdebug stuff included 2004-02-17 07:40:31 +00:00
Daniel Stenberg
59091fa860 If CURLDEBUG is set we use the libcurl internal memdebug system to track
memory leaks etc.
2004-02-17 07:40:02 +00:00
Daniel Stenberg
dc659ec736 only build adig and ahost if 'make demos' is used 2004-02-16 16:27:18 +00:00
Daniel Stenberg
09aa165942 support closesocket() for closing sockets as well, as then we can use this
code fine on ares!
2004-02-16 16:24:01 +00:00
Daniel Stenberg
f2fbb5f3d5 Make realloc() support NULL as pointer. Made to allow us to use these routines
to memdebug the ares stuff as well.
2004-02-16 16:23:19 +00:00
Daniel Stenberg
29bedfcf7f item 24 fixed, edited a few issues 2004-02-16 15:27:40 +00:00
Daniel Stenberg
ccdaa0b51f 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().
2004-02-16 15:24:22 +00:00
Daniel Stenberg
f516734941 updates 2004-02-16 13:36:08 +00:00
Daniel Stenberg
d53d33698c verbose-fix, socks5-fix, dnscache-fix, configure-winmmlib-fix 2004-02-16 13:33:41 +00:00
Daniel Stenberg
39926181ea 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...
2004-02-16 13:14:55 +00:00
Daniel Stenberg
8415b4a271 removed usage of a silly macro instead of the actual functions memcpy
and memset
2004-02-16 09:56:18 +00:00
Daniel Stenberg
e4916145ef 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
2004-02-16 07:33:30 +00:00