aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2004-03-01Support 'z' for size_t-sized integer printing, as in %zd or %zx.Daniel Stenberg
2004-03-01Only consider the fresh-connection option on the first connection made, notDaniel Stenberg
on followed redirections etc. This should fix the bug #905365, which caused NTLM to fail with the option set.
2004-03-01Only attempt to send the FTP QUIT command if we actually have a FTP struct.Daniel Stenberg
2004-03-01in Curl_disonnect(): call the protocol-specific disconnect function before weDaniel Stenberg
unlink the "current" connection struct from the connection cache.
2004-02-27fixed some more size_t/int/long warnings and removed a few CMC commentsDaniel Stenberg
2004-02-27Joe Halpin made the FTP code send 'QUIT' on the control connection beforeDaniel Stenberg
it disconnects the TCP connection, like a good ftp client should!
2004-02-26David Byron's fixes to make the latest curl build fine under MSVC 6.Daniel Stenberg
2004-02-26Gisle Vanem's added support calloc()-debugging and outputting mode forDaniel Stenberg
fopen() as well.
2004-02-26use calloc instead of malloc and we won't have to memset() the structDaniel Stenberg
2004-02-26Clear up int/long/size_t/ssize_t usage a bitDaniel Stenberg
2004-02-26use %ld when printf()ing long variables (and removed use of 'register')Daniel Stenberg
2004-02-26Don't call the lock/unlock functions if they are NULL. They can still beDaniel Stenberg
NULL without violating protocol.
2004-02-25disable the use of long double, we don't use itDaniel Stenberg
2004-02-25Based on a patch by Greg Hewgill I modified how long long is used, as weDaniel Stenberg
can use a 64bit type with MSVC that is a long long equivalent.
2004-02-23fixed some warnings in the (both new and old) base64 usageDaniel Stenberg
2004-02-23make newer MSCV7 compilers use _strtoi64() as a strtoll() replacementDaniel Stenberg
2004-02-23Removed getpass from here. The fact this still was present here indicatesDaniel Stenberg
that this file is out of date!
2004-02-23curl_off_t is 8 bytes big on windowsDaniel Stenberg
2004-02-23switch the arguments according to the c sourceDaniel Stenberg
2004-02-23oops, the decode() function got its arguments reversed in my cleanupDaniel Stenberg
operation!
2004-02-23use size_t to keep strlen() resultsDaniel Stenberg
2004-02-23simplied how create_hostcache_id() is used, and also its function somewhatDaniel Stenberg
cleared up some ssize_t/size_t mixups
2004-02-23adjusted to the modified base64 protosDaniel Stenberg
2004-02-23More size_t cleanups in the base64 functions.Daniel Stenberg
2004-02-23The base64 encode function now takes a size_t for size, not an int asDaniel Stenberg
previously.
2004-02-22the missing part of Gisle Vanem's connect-timeout fix for win32Daniel Stenberg
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