aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2004-02-05options we get as longs need to be typecasted when assigned to preventDaniel Stenberg
picky compiler warnings
2004-02-05fix return type to silence compiler warningsDaniel Stenberg
2004-02-05prevent warning from that picky MIPSpro compilerDaniel Stenberg
2004-02-05compiler warning fix, compare struct pointers of the same typeDaniel Stenberg
2004-02-05use the timeout options when waiting for the server to connect when usingDaniel Stenberg
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-05hide the pack_hostent proto if ipv6 is enabled, as figured out by Tor ArntsenDaniel Stenberg
2004-02-03the unused quit-function didn't pass a correct variable type to theDaniel Stenberg
response reading function
2004-02-03added the missing ares numerical version initialiserDaniel Stenberg
2004-02-02undef accept before defining it, since AIX 5.2 has it as a define!Daniel Stenberg
2004-02-02now provides c-ares version info in both version callsDaniel Stenberg
2004-02-02adjusted to the modified ares_strerror() functionDaniel Stenberg
NOTE that this breaks ares-compatibility, we have now officially taken the turn into the c-ares path. We will now officially depend on c-ares for asynch name resolves.
2004-02-02Dirk Manske fixed the ares usage even more. We could get a timeout from aresDaniel Stenberg
as well, and when failing and not getting a timeout we now include the error message ares can provide us with.
2004-02-02set the 'retry' bit to TRUE when the connection is about to be retried,Daniel Stenberg
this allows the HTTP code to *not* return a failure just because no data has been received from the server
2004-02-02clear the sockerror if no error was returnedDaniel Stenberg