History log of /curl/lib/hostasyn.c (Results 26 – 50 of 59)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a0b20716 14-Dec-2012 Yang Tse

setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>

Inclusion of top two most included header files now done in setup_once.h


Revision tags: curl-7_28_1, curl-7_28_0, curl-7_27_0, curl-7_26_0, curl-7_25_0, curl-7_24_0, curl-7_23_1, curl-7_23_0, curl-7_22_0
# f1586cb4 26-Jul-2011 Yang Tse

stdio.h, stdlib.h, string.h, stdarg.h and ctype.h inclusion done in setup_once.h


Revision tags: curl-7_21_7, curl-7_21_6, curl-7_21_5, curl-7_21_4
# 7de2f927 30-Jan-2011 Daniel Stenberg

async resolvers: further cleanups

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
specifi

async resolvers: further cleanups

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.

show more ...


# ca015f1a 29-Jan-2011 Vsevolod Novikov

asynch resolvers: unified

Introducing an internal API for handling of different async resolver
backends.


# ef19e309 27-Jan-2011 Daniel Stenberg

ares: memory leak fix

The double name resolve trick used with c-ares could leave allocated
memory in 'temp_ai' if the operation was aborted in the middle.


# b6a3e2be 27-Dec-2010 Daniel Stenberg

c-ares: fix cancelled resolves

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 call

c-ares: fix cancelled resolves

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 8ab137b2bc9630ce so it hasn't been
included in any public release.

Bug: http://curl.haxx.se/bug/view.cgi?id=3145445
Reported by: Pedro Larroy

show more ...


# 8ab137b2 18-Dec-2010 Tommie Gannert

ares: ask for both IPv4 and IPv6 addresses

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_get

ares: ask for both IPv4 and IPv6 addresses

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

show more ...


Revision tags: curl-7_21_3, curl-7_21_2, curl-7_21_1, curl-7_21_0, curl-7_20_1
# 2309b4e3 24-Mar-2010 Daniel Stenberg

remove the CVSish $Id$ lines


Revision tags: curl-7_20_0
# bfc4c339 22-Jan-2010 Yang Tse

Constantine Sapuntzakis refactoring of async callbacks, allowing
removal of Curl_addrinfo_copy(), Curl_addrinfo6_callback(), and
Curl_addrinfo4_callback()


# 3184a91e 30-Dec-2009 Yang Tse

VMS specific preprocessor symbol checking adjustments


Revision tags: curl-7_19_7, curl-7_19_6, curl-7_19_5
# 33a3753c 21-Apr-2009 Yang Tse

libcurl's memory.h renamed to curl_memory.h


# 9770899a 21-Apr-2009 Yang Tse

Moved potential inclusion of system's malloc.h and memory.h header files to
setup_once.h. Inclusion of each header file is based on the definition of
NEED_MALLOC_H and NEED_MEMORY_H respecti

Moved potential inclusion of system's malloc.h and memory.h header files to
setup_once.h. Inclusion of each header file is based on the definition of
NEED_MALLOC_H and NEED_MEMORY_H respectively.

show more ...


Revision tags: curl-7_19_4, curl-7_19_3, curl-7_19_2, curl-7_19_1
# 0ce97f77 30-Oct-2008 Yang Tse

Use our Curl_addrinfo definition even when an addrinfo struct is available.

Use a wrapper function to call system's getaddrinfo().


# 8f467b42 29-Sep-2008 Dan Fandrich

Removed unneeded includes of signal.h and setjmp.h


# 4e909ee8 24-Sep-2008 Yang Tse

ntoa() and inet_ntoa_r() no longer used


Revision tags: curl-7_19_0, curl-7_18_2, curl-7_18_1, curl-7_18_0, curl-7_17_1
# 2c105af9 28-Sep-2007 Daniel Stenberg

Adapted the c-ares code to the API change c-ares 1.5.0 brings in the
notifier callback(s).


Revision tags: curl-7_17_0, curl-7_17_0-preldapfix, curl-7_16_4, curl-7_16_3, curl-7_16_2
# 584f3639 03-Apr-2007 Yang Tse

update copyright year


# c514a2a8 26-Feb-2007 Gisle Vanem

Removed inclusion of <sys/types.h> and <sys/stat.h> in .c-files
since they're already included through "setup.h".


Revision tags: curl-7_16_1, curl-7_16_0, curl-7_15_6-prepipeline, curl-7_15_5
# 13616f8f 25-Jul-2006 Yang Tse

Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.


# 4a1a1a75 25-Jul-2006 Gisle Vanem

Added note for CURLRES_ARES and CURLRES_IPV6.


# fe22872d 11-Jul-2006 Yang Tse

include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.


Revision tags: curl-7_15_4
# e85e3054 04-May-2006 Daniel Stenberg

Roland Blom filed bug report #1481217
(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

Roland Blom filed bug report #1481217
(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.

show more ...


# 3cbb1b2b 26-Apr-2006 Gisle Vanem

Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines
(more logical).


Revision tags: curl-7_15_3, curl-7_15_2, curl-7_15_1, curl-7_15_0, curl-7_14_1, c-ares-1_3_0, curl-7_14_0
# 5f0366c2 19-Apr-2005 Daniel Stenberg

only define _REENTRANT if not already defined, and only in setup.h


Revision tags: curl-7_13_2
# ab4086bc 31-Mar-2005 Daniel Stenberg

Updated the copyright year since changes have been this year.


123