Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-16 | use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handling | Yang Tse | |
2007-02-05 | - Michael Wallner provided a patch that adds support for CURLOPT_TIMEOUT_MS | Daniel Stenberg | |
and CURLOPT_CONNECTTIMEOUT_MS that, as their names should hint, do the timeouts with millisecond resolution instead. The only restriction to that is the alarm() (sometimes) used to abort name resolves as that uses full seconds. I fixed the FTP response timeout part of the patch. Internally we now count and keep the timeouts in milliseconds but it also means we multiply set timeouts with 1000. The effect of this is that no timeout can be set to more than 2^31 milliseconds (on 32 bit systems), which equals 24.86 days. We probably couldn't before either since the code did *1000 on the timeout values on several places already. | |||
2006-10-17 | Jeff helped me pinpoint that we didn't properly set the expire timer during | Daniel Stenberg | |
c-ares name resolves, but now we do! | |||
2006-07-25 | Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H ↵ | Yang Tse | |
shall be defined if <malloc.h> header file must be included even when including <stdlib.h>. | |||
2006-07-25 | Moved functions common to IPv4 and C-ares to hostip.c; | Gisle Vanem | |
Curl_freeaddrinfo() and Curl_ip2addr(). | |||
2006-07-24 | Use the proper Curl_freeaddrinfo() for CURLRES_ARES. | Gisle Vanem | |
2006-07-21 | Constify 'hostname' and 'service' to various resolver functions. | Gisle Vanem | |
2006-07-21 | Changes for combination ENABLE_IPV6 and USE_ARES. | Gisle Vanem | |
2006-07-11 | include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined. | Yang Tse | |
2006-05-05 | get the Curl_sockerrno proto | Daniel Stenberg | |
2006-05-04 | Roland Blom filed bug report #1481217 | Daniel Stenberg | |
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini and David Byron. libcurl previously wrongly used GetLastError() on windows to get error details after socket-related function calls, when it really should use WSAGetLastError() instead. When changing to this, the former function Curl_ourerrno() is now instead called Curl_sockerrno() as it is necessary to only use it to get errno from socket-related functions as otherwise it won't work as intended on Windows. | |||
2006-04-26 | Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines | Gisle Vanem | |
(more logical). | |||
2006-04-10 | First curl_multi_socket() commit. Should primarily be considered as an internal | Daniel Stenberg | |
code rearrange to fit the future better. | |||
2005-04-19 | only define _REENTRANT if not already defined, and only in setup.h | Daniel Stenberg | |
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 | ares_gethostbyname wants a 'ares_host_callback' in the 4th argument | Daniel Stenberg | |
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-02-08 | Curl_wait_for_resolv() no longer disconnects on failure, but leaves that | Daniel Stenberg | |
operation to the caller. Disconnecting has the disadvantage that the conn pointer gets completely invalidated and this is not handled on lots of places in the code. | |||
2004-10-06 | removed tabs and trailing whitespace from source | Daniel Stenberg | |
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-05-11 | curl_global_init_mem() allows the memory functions to be replaced. | Daniel Stenberg | |
memory.h is included everywhere for this. | |||
2004-05-07 | James Bursa changed two error message to use the display-name instead of the | Daniel Stenberg | |
internally-used name. | |||
2004-05-07 | get the display host name properly | Daniel Stenberg | |
2004-05-06 | Michael Benedict brought a fix that fills in the errorbuffer properly | Daniel Stenberg | |
when ares fails to resolve a name. This was fixed before but somehow has fallen out again! | |||
2004-04-27 | Made host name and proxy name get stored in a 'struct hostname' and set | Daniel Stenberg | |
all things up to work with encoded host names internally, as well as keeping 'display names' to show in debug messages. IDN resolves work for me now using ipv6, ipv4 and ares resolving. Even cookies on IDN sites seem to do right. | |||
2004-04-26 | removed assignment of variable never used | Daniel Stenberg | |
2004-04-26 | Major hostip.c cleanup and split into multiple files and easier #ifdef | Daniel Stenberg | |
usage. |