Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 26, 2011
  1. yangtse
Commits on Apr 25, 2011
  1. async resolvers: further cleanups

    authored
    asyn-ares.c and asyn-thread.c are two separate backends that implement
    the same (internal) async resolver API for libcurl to use. Backend is
    specified at build time.
    
    The internal resolver API is defined in asyn.h for asynch resolvers.
  2. novikov-dorogatv

    asynch resolvers: unified

    novikov-dorogatv authored committed
    Introducing an internal API for handling of different async resolver
    backends.
Commits on Jan 27, 2011
  1. ares: memory leak fix

    authored
    The double name resolve trick used with c-ares could leave allocated
    memory in 'temp_ai' if the operation was aborted in the middle.
Commits on Dec 27, 2010
  1. c-ares: fix cancelled resolves

    authored
    When built IPv6-enabled, we could do Curl_done() with one of the two
    resolves having returned already, so when ares_cancel() is called the
    resolve callback ends up doing funny things (sometimes resulting in a
    segfault) since it would try to actually store the previous resolve even
    though we're shutting down the resolve.
    
    This bug was introduced in commit 8ab137b so it hasn't been
    included in any public release.
    
    Bug: http://curl.haxx.se/bug/view.cgi?id=3145445
    Reported by: Pedro Larroy
Commits on Dec 18, 2010
  1. tommie

    ares: ask for both IPv4 and IPv6 addresses

    tommie authored committed
    Make the c-ares resolver code ask for both IPv4 and IPv6 addresses when
    IPv6 is enabled.
    
    This is a workaround for the missing ares_getaddrinfo() and is a lot
    easier to implement.
    
    Note that as long as c-ares returns IPv4 addresses when IPv6 addresses
    were requested but missing, this will cause a host's IPv4 addresses to
    occur twice in the DNS cache.
    
    URL: http://curl.haxx.se/mail/lib-2010-12/0041.html
Commits on Mar 24, 2010
  1. remove the CVSish $Id$ lines

    authored
Commits on Jan 22, 2010
  1. yangtse

    Constantine Sapuntzakis refactoring of async callbacks, allowing

    yangtse authored
    removal of Curl_addrinfo_copy(), Curl_addrinfo6_callback(), and
    Curl_addrinfo4_callback()
Commits on Dec 30, 2009
  1. yangtse
Commits on Apr 21, 2009
  1. yangtse
  2. yangtse

    Moved potential inclusion of system's malloc.h and memory.h header fi…

    yangtse authored
    …les to
    
    setup_once.h.  Inclusion of each header file is based on the definition of
    NEED_MALLOC_H and NEED_MEMORY_H respectively.
Commits on Oct 30, 2008
  1. yangtse

    Use our Curl_addrinfo definition even when an addrinfo struct is avai…

    yangtse authored
    …lable.
    
    Use a wrapper function to call system's getaddrinfo().
Commits on Sep 29, 2008
  1. Dan Fandrich
Commits on Sep 24, 2008
  1. yangtse
Commits on Sep 28, 2007
Commits on Apr 3, 2007
  1. yangtse

    update copyright year

    yangtse authored
Commits on Feb 26, 2007
  1. Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files

    Gisle Vanem authored
    since they're already included through "setup.h".
Commits on Jul 25, 2006
  1. yangtse

    Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MA…

    yangtse authored
    …LLOC_H shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.
  2. Added note for CURLRES_ARES and CURLRES_IPV6.

    Gisle Vanem authored
Commits on Jul 11, 2006
  1. yangtse
Commits on May 4, 2006
  1. Roland Blom filed bug report #1481217

    authored
    (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.
Commits on Apr 26, 2006
  1. Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines

    Gisle Vanem authored
    (more logical).
Commits on Apr 19, 2005
Commits on Mar 31, 2005
Commits on Feb 9, 2005
  1. FTP code turned into state machine. Not completely yet, but a good st…

    authored
    …art.
    
    The tag 'before_ftp_statemachine' was set just before this commit in case
    of future need.
Commits on Feb 8, 2005
  1. Curl_addrinfo?_callback() and addrinfo_callback() now returns

    Gisle Vanem authored
    CURLE_OK or CURLE_OUT_OF_MEMORY.
    Add typecast in hostares.c.
Commits on Oct 6, 2004
Commits on Oct 3, 2004
  1. set async.done to TRUE last in the addrinfo callback to prevent the r…

    authored
    …isk that
    
    the multi-threaded resolver does wrong
Commits on Jun 24, 2004
  1. Source cleanups. The major one being that we now _always_ use a Curl_…

    authored
    …addrinfo
    
    linked list for name resolved data, even on hosts/systems with only IPv4
    stacks as this simplifies a lot of code.
Commits on May 18, 2004
  1. + when storing the address in the cache fails, cleanup the resolved a…

    authored
    …ddress
    
    properly
    + delete trailing whitespace
Commits on May 11, 2004
  1. curl_global_init_mem() allows the memory functions to be replaced.

    authored
    memory.h is included everywhere for this.
Commits on Apr 26, 2004
Something went wrong with that request. Please try again.