aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-02-21added some extra typecasts to prevent compiler warnings when convertingDaniel Stenberg
int to various types
2004-02-21inlcude krb4.h to get the proto for Curl_krb_kauth() to satisfy pickyDaniel Stenberg
compilers
2004-02-20Gisle Vanem brings name resolving timeout possibilities to windows people.Daniel Stenberg
This works by magicly starting up a new thread that can be killed when the timeout is reached. testtesttest!
2004-02-20Some compilers warn on completely empty source files, we provide a blankDaniel Stenberg
one to prevent that.
2004-02-20Convert functions to ANSI-style declaration to prevent compiler warningsDaniel Stenberg
2004-02-20No longer support Z as a flag to print size_t, it isn't used by libcurlDaniel Stenberg
and I doubt anyone else uses it. Better preprocessor magic for the O flag (for curl_off_t printing) to prevent compiler warnings.
2004-02-20we call the macro CURLMAX() isntead of MAX(), just because it turned upDaniel Stenberg
it collides with another MAX define on some platforms (like netbsd 1.6.1)
2004-02-20oops, missed a define when I changed from Curl_ to curlx_Daniel Stenberg
2004-02-19Doug Porter's patch that changes the order of preferences on how to find theDaniel Stenberg
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-19Remade to use curlx_-prefix. This means this function can be compiled andDaniel Stenberg
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-18removed some "jhrg" from commentsDaniel Stenberg
2004-02-18Made curl_accept() take a 'void *' instead of 'socklen_t *' in the 3rdDaniel Stenberg
argument to also not force the casual includer to know about the socklen_t type.
2004-02-18Modified curl_accept() to take a 'void *' in the 2nd argument instead ofDaniel Stenberg
sockaddr *. This has the added benefit that source files that include memdebug.h doesn't have to know about "sockaddr".
2004-02-18No longer uses the 'ret' variable in the plain ipv4-version ofDaniel Stenberg
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-18simplified and better commented config.h include logicDaniel Stenberg
2004-02-18Make sure dns cache timeout -1 really means forever, as it is documented toDaniel Stenberg
be. Simply skip the pruning.
2004-02-16support closesocket() for closing sockets as well, as then we can use thisDaniel Stenberg
code fine on ares!
2004-02-16Make realloc() support NULL as pointer. Made to allow us to use these routinesDaniel Stenberg
to memdebug the ares stuff as well.
2004-02-16Make the 'areschannel' get created in the curl_easy_init() and re-use thatDaniel Stenberg
same channel during the whole curl handle's life until curl_easy_cleanup().
2004-02-16Fix verbosconnect() when ipv6-enabled to not assume that conn->serv_addrDaniel Stenberg
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-16removed usage of a silly macro instead of the actual functions memcpyDaniel Stenberg
and memset
2004-02-16Jeff Lawson pointed out that we need to check for a '5' in the version fieldDaniel Stenberg
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-15Mark the dns entry 'inuse' properly even when used from the cache. ThisDaniel Stenberg
seems to correct some host cache screw-ups I could reproduce.
2004-02-15another case which should use CURLcode and not intDaniel Stenberg
2004-02-15Use the was_iface variable when binding a socket locally, even if noDaniel Stenberg
SO_BINDTODEVICE is present, to prevent compiler warnings about the variable
2004-02-15(void) functions we don't check the return code forDaniel Stenberg
2004-02-15CURLcode/int cleanup to reduce IRIX warningsDaniel Stenberg
Removed some dates/names in the comments.
2004-02-13in the socks code, make sure we receive Curl_read results in ints andDaniel Stenberg
Curl_write in CURLcode, to keep the picky compilers happy
2004-02-13use CURLcode, not int, prevents picky compilers to warnDaniel Stenberg
2004-02-13the now and start variables were never really usedDaniel Stenberg
2004-02-13Ben Greear's SO_BINDTODEVICE patch that binds to a network interface "evenDaniel Stenberg
more" when the previous approach. Known to work on Linux, possibly on other platforms as well.
2004-02-13Greg Hewgill found out 'contentlength' wasn't big enough to hold a large file!Daniel Stenberg
2004-02-13I made the same fix here, that Tor already did in the ftp.c code. To makeDaniel Stenberg
sure this doesn't get weird on 64bit archs.
2004-02-13Tor Arntsen's fix for the bad (64bit wise) typecast when using gmtime()Daniel Stenberg
2004-02-12Make hostcache_fixoffset() take a long for offset, to fully work with 64bitDaniel Stenberg
archs, also no longer typecast pointers to ints as that is a nono on 64bit systems.
2004-02-12removed the subchar variable, it was only set and never usedDaniel Stenberg
2004-02-12removed the ldaptext variable, it was only set and never usedDaniel Stenberg
2004-02-12removed the nth variable, it was only set and never used anywayDaniel Stenberg
2004-02-12No longer receive the return code in ConnectionKillOne() that wasn't dealtDaniel Stenberg
with anyway and thus caused picky compiler to warn.
2004-02-11#if-check for SIGALRM before assuming it is presentDaniel Stenberg
2004-02-09Modified the default HTTP Accept: header to only be Accept: */*Daniel Stenberg
2004-02-09Oops. I broke the flow with the previous commit.Daniel Stenberg
2004-02-09some annoying compilers warn about "(void)foo;" lines so we avoid themDaniel Stenberg
2004-02-09Tor Arntsen's patch for working around a notorious bug in the AIX5Daniel Stenberg
getaddrinfo() implementation.
2004-02-06A custom Host: header is only considered if the request is not made byDaniel Stenberg
following a location. After discussions with Tim Baker.
2004-02-06The MIPSPro compiler complains on constructs such as "(void)foo;" soDaniel Stenberg
we avoid it where possible.
2004-02-06Make sure DynaGetFunction() returns a function pointer, not a data pointer.Daniel Stenberg
The standards don't actually allow typecasts between data and functions so some picky compilers warn about this.
2004-02-05Andrés García's updatesDaniel Stenberg
2004-02-05if an empty 'transfer-encoding:' header is provided, we switch off theDaniel Stenberg
chunky coding of uploads
2004-02-05Gisle Vanem fixed a windows compiler warningDaniel Stenberg