Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-04-10 | First curl_multi_socket() commit. Should primarily be considered as an internal | Daniel Stenberg | |
code rearrange to fit the future better. | |||
2006-02-23 | Lots of work and analysis by "xbx___" in bug #1431750 | Daniel Stenberg | |
(http://curl.haxx.se/bug/view.cgi?id=1431750) helped me identify and fix two different but related bugs: 1) Removing an easy handle from a multi handle before the transfer is done could leave a connection in the connection cache for that handle that is in a state that isn't suitable for re-use. A subsequent re-use could then read from a NULL pointer and segfault. 2) When an easy handle was removed from the multi handle, there could be an outstanding c-ares DNS name resolve request. When the response arrived, it caused havoc since the connection struct it "belonged" to could've been freed already. Now Curl_done() is called when an easy handle is removed from a multi handle pre-maturely (that is, before the transfer was complteted). Curl_done() also makes sure to cancel all (if any) outstanding c-ares requests. | |||
2005-12-11 | Undo last changes | Yang Tse | |
2005-12-11 | Fix compiler warning and compatibility issue with the type of the parameter ↵ | Yang Tse | |
used in getnameinfo() to receive the length of the sockaddr struct. | |||
2005-04-04 | kill warnings | Daniel Stenberg | |
2005-04-04 | hostthre.c: destroy_thread_data() made public. Called | Gisle Vanem | |
from url.c: Curl_disconnect(). | |||
2005-02-09 | FTP code turned into state machine. Not completely yet, but a good start. | Daniel Stenberg | |
The tag 'before_ftp_statemachine' was set just before this commit in case of future need. | |||
2005-02-08 | Curl_addrinfo?_callback() and addrinfo_callback() now returns | Gisle Vanem | |
CURLE_OK or CURLE_OUT_OF_MEMORY. Add typecast in hostares.c. | |||
2005-01-25 | Use plain structs and not typedef'ed ones in the hash and linked-list code. | Daniel Stenberg | |
2004-06-24 | Gisle cleaned up remaining host resolve re-org issues | Daniel Stenberg | |
2004-06-24 | made the Curl_he2ai() take the port number as an int intead, to avoid lots | Daniel Stenberg | |
of typecasts all over | |||
2004-06-24 | Source cleanups. The major one being that we now _always_ use a Curl_addrinfo | Daniel Stenberg | |
linked list for name resolved data, even on hosts/systems with only IPv4 stacks as this simplifies a lot of code. | |||
2004-06-10 | removed trailing whitespace | Daniel Stenberg | |
2004-06-10 | Gisle corrected two comments | Daniel Stenberg | |
2004-06-10 | Gisle Vanem's improved verbose output and timeout handling when connecting to | Daniel Stenberg | |
a host name that resolves to multiple IP addresses. | |||
2004-04-26 | Made defines instead of plain numbers for the Curl_resolv() return code to | Daniel Stenberg | |
make the code easier to read | |||
2004-04-26 | Curl_ip2addr() now takes an in_addr_t argument instead to prevent compiler | Daniel Stenberg | |
warnings | |||
2004-04-26 | Major hostip.c cleanup and split into multiple files and easier #ifdef | Daniel Stenberg | |
usage. | |||
2004-03-30 | adjusted to the new dns cache function to hide more hostip internals | Daniel Stenberg | |
2004-01-07 | updated year in the copyright string | Daniel Stenberg | |
2003-12-15 | added a library-wide interface for doing dns cache pruning, and no longer | Daniel Stenberg | |
make the pruning at each name lookup, only in Curl_done(). | |||
2003-10-04 | Based on a patch provided by Siddhartha Prakash Jain. In Curl_resolv() when | Daniel 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-08-05 | ares awareness/usage/support added. If configure --enable-ares is used, we | Daniel Stenberg | |
build libcurl to use ares for asynch name resolves. | |||
2003-06-26 | use CURLDEBUG instead of MALLOCDEBUG for preprocessor conditions | Daniel Stenberg | |
2003-05-13 | Setup and use CURL_INADDR_NONE all over instead of INADDR_NONE. We setup | Daniel Stenberg | |
the define accordingly in the hostip.h header to work nicely all over. | |||
2003-02-04 | added the sharing of DNS cache | Jean-Philippe Barette-LaPierre | |
2003-01-16 | copyright year update in the source header | Daniel Stenberg | |
2002-11-26 | fixed Curl_freeaddrinfo() to only free addrinfo, and added Curl_freednsinfo() | Daniel Stenberg | |
for freeing single dns cache entries | |||
2002-11-11 | unlock dns cache entries with a function call instead of a variable fiddle | Daniel Stenberg | |
2002-11-05 | Curl_resolv() now returns a different struct, and it contains a reference | Daniel Stenberg | |
counter so that the caller needs to decrease that counter when done with the returned data. If compiled with MALLOCDEBUG I've added some extra checking that the counter is decreased before a handle is closed etc. | |||
2002-09-03 | updated source code boilerplate/header | Daniel Stenberg | |
2002-04-25 | In order to not get problems with DNS cache pruning, we no longer store | Daniel Stenberg | |
any name resolved data in any curl handle struct. That way, we won't mind if the cache entries are pruned for the next time we need them. We'll just resolve them again instead. This changes the Curl_resolv() proto. It modifies the SessionHandle struct but perhaps most importantly, it'll make the internals somewhat dependent on the DNS cache not being disabled as that will cripple operations somewhat. Especially for persistant connections. | |||
2002-03-19 | copyright string (year) update | Daniel Stenberg | |
2002-01-07 | Make 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-03 | Sterling Hughes' provided initial DNS cache source code. | Daniel Stenberg | |
2001-10-04 | getaddrinfo() cleanups | Daniel Stenberg | |
2001-10-02 | major connecting updates | Daniel Stenberg | |
2001-09-28 | more transparant support for IPv6 name resolving | Daniel Stenberg | |
2001-08-30 | Major rename and redesign of the internal "backbone" structs. Details will | Daniel Stenberg | |
be posted in a minute to the libcurl list. | |||
2001-02-05 | Jun-ichiro itojun Hagino's IPv6 adjustments | Daniel Stenberg | |
2001-01-05 | Internal symbols that aren't static are now prefixed with 'Curl_' | Daniel Stenberg | |
2001-01-03 | dual-license fix | Daniel Stenberg | |
2000-09-21 | GetHost() changed function arguments | Daniel Stenberg | |
2000-06-20 | haxx.nu => haxx.se | Daniel Stenberg | |
2000-05-29 | David LeBlanc's fixes! | Daniel Stenberg | |
1999-12-29 | Initial revision | Daniel Stenberg | |