aboutsummaryrefslogtreecommitdiff
path: root/lib/multi.c
AgeCommit message (Collapse)Author
2004-03-30init the dns pointer to NULL for clarityDaniel Stenberg
2004-03-11Gisle Vanem's fixes to use CURL_SOCKET_BAD more instead of -1 for sockets.Daniel Stenberg
2004-03-10curl_socket_t mistakes cleanupDaniel Stenberg
2004-03-09Use curl_socket_t instead of int for holding sockets. The typedefs andDaniel Stenberg
defines are in setup.h.
2004-03-04When following to a new URL, we must make sure to call Curl_done() first,Daniel Stenberg
since the current connection must be taken care of properly before we move on. Christopher R. Palmer reported a problem he found due to this mistake.
2004-02-05compiler warning fix, compare struct pointers of the same typeDaniel Stenberg
2004-01-12Peter Sylvester brought code that now allows a callback to modified the URLDaniel Stenberg
even when the multi interface is used, and then libcurl will simulate a "follow location" to that new URL. Test 509 was added to test this feature.
2004-01-07updated year in the copyright stringDaniel Stenberg
2003-11-24FTPS support added as RFC2228 and the murray-ftp-auth-ssl draft describe itDaniel Stenberg
2003-10-18minor fix to not shadow a variableDaniel Stenberg
2003-10-13Clear the connection pointer after the async resolve has failed.Daniel Stenberg
This cures the problem reported by Giuseppe Attardi on October 12, 2003.
2003-10-04Based on a patch provided by Siddhartha Prakash Jain. In Curl_resolv() whenDaniel Stenberg
my_getaddrinfo() has been called (and wait has been set to TRUE), we check if the name already is resolved and if so don't return wait status to the parent. This can happen with IP-only names.
2003-09-21failing to resolve a name using ares must Curl_disconnect() the handleDaniel Stenberg
properly or risk getting into trouble!
2003-09-11For easy handles within multi handles, we share the DNS cache always.Daniel Stenberg
2003-08-20made curl_multi_info_read() set 'msgs_in_queue' to 0 even when it returnsDaniel Stenberg
NULL!
2003-08-05ares awareness/usage/support added. If configure --enable-ares is used, weDaniel Stenberg
build libcurl to use ares for asynch name resolves.
2003-07-15Dan Winship's fix to make the new auth stuff such as NTLM to work withDaniel Stenberg
the multi interface
2003-06-26use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditionsDaniel Stenberg
2003-06-13Marty Kuhrt's #include fixes for VMSDaniel Stenberg
2003-04-29 Peter Kovacs provided a patch that makes the CURLINFO_CONNECT_TIME work fineDaniel Stenberg
when using the multi interface (too).
2003-03-13Philippe Raoult needed this to build on FreeBSDDaniel Stenberg
2003-02-14include <sys/socket.h> to compile the fd_set stuff properly on all systemsDaniel Stenberg
2003-01-29removed the local variables for emacs and vim, use the new sample.emacsDaniel Stenberg
way for emacs, and vim users should provide a similar non-polluting style
2003-01-16copyright year update in the source headerDaniel Stenberg
2002-11-28fix the hash init to call the correct dns cleanup functionDaniel Stenberg
2002-11-11moved the bools in the connectdata struct into the substruct namedDaniel Stenberg
ConnectBits where the other bools already are
2002-10-18return call_multi when we follow a locationDaniel Stenberg
2002-10-07Following locations properly, if told to do so.Daniel Stenberg
2002-09-23properly disconnect failed connectionsDaniel Stenberg
2002-09-03updated source code boilerplate/headerDaniel Stenberg
2002-08-12Initial fix to make the multi interface return control while waiting forDaniel Stenberg
the initial connect to "come through". This should work fine for connect and for FTP-PASV connects. Needs massive testing.
2002-08-05Make SessionHandle keep record if it is used with the multi interface orDaniel Stenberg
the easy interface, it CANNOT be used by a mixture.
2002-06-05Gustaf Hui fixed curl_multi_remove_handle() to prevent a potential crashDaniel Stenberg
2002-05-28 Gustaf Hui provided new code that changes how curl_multi_info_read()Daniel Stenberg
messages are stored, so that they don't have to be kept around for the multi handle's entire life time. He also made it return failure codes properly which it didn't do before. I made the messages only get stored per easy-handle so that they can be independently killed easier without ruining the "master list". It makes the info_read() function slightly less beautiful as it has to scan for messages to return, but it makes removing individual handles a lot easier and less error prone.
2002-05-03fixed return codeDaniel Stenberg
2002-05-02return CURLM_CALL_MULTI_PERFORM in one more case, and check return codeDaniel Stenberg
from malloc()
2002-05-02make sure the dns cache pointers in the easy handles are NULLedDaniel Stenberg
2002-04-27implemented curl_multi_info_read() which I had forgotten before!Daniel Stenberg
2002-03-20no longer include "multi.h", it comes with the regular curl/curl.h nowDaniel Stenberg
2002-03-19copyright string (year) updateDaniel Stenberg
2002-01-07Make cach'ing work with threads now, there are now three cases:Sterling Hughes
- Use a global dns cache (via setting the tentatively named, CURLOPT_DNS_USE_GLOBAL_CACHE option to true) - Use a per-handle dns cache, by default - Use a pooled dns cache when in the "multi" interface
2002-01-03merged the multi-dev branch back into MAIN againDaniel Stenberg
2001-12-13minor changesDaniel Stenberg
2001-12-04more commentsDaniel Stenberg
2001-11-28more more more MOREDaniel Stenberg
2001-11-28the perform "state machine" is more explained nowDaniel Stenberg
2001-11-28modsDaniel Stenberg
2001-11-28used in the new multi interface, not yet actually part of libcurl butDaniel Stenberg
added to CVS to make them available to others