History log of /curl/lib/hostip.h (Results 76 – 100 of 137)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a6c915aa 18-Sep-2008 Yang Tse

fix compiler warning: external declaration in primary source file


Revision tags: curl-7_19_0
# 0cd8840d 09-Jul-2008 Daniel Stenberg

- Andreas Schuldei improved Phil Blundell's patch for IPv6 using c-ares, and I
edited it slightly. Now you should be able to use IPv6 addresses fine even
with libcurl built to use c-ares.


Revision tags: curl-7_18_2, curl-7_18_1, curl-7_18_0
# 991505e0 15-Jan-2008 Daniel Stenberg

Woops, partly revert my previous commit and do it slightly differently instead.
The signalling of that a global DNS cache is wanted is done by setting the
option but the setting of the intern

Woops, partly revert my previous commit and do it slightly differently instead.
The signalling of that a global DNS cache is wanted is done by setting the
option but the setting of the internal variable that it is in use must not be
done until it finally actually gets used!

NOTE and WARNING: I noticed that you can't actually switch off the global dns
cache with CURLOPT_DNS_USE_GLOBAL_CACHE but you couldn't do that previously
either and the option is very clearly and loudly documented as DO NOTE USE so
I won't bother to fix this bug now.

show more ...


# 56f17d2c 15-Jan-2008 Daniel Stenberg

I made the torture test on test 530 go through. This was actually due to
silly code left from when we switched to let the multi handle "hold" the dns
cache when using the multi interface... O

I made the torture test on test 530 go through. This was actually due to
silly code left from when we switched to let the multi handle "hold" the dns
cache when using the multi interface... Of course this only triggered when a
certain function call returned error at the correct moment.

show more ...


Revision tags: 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
# afdfa4be 30-Jun-2007 Gunter Knauf

minor patches to enable building for NetWare CLIB.
sent by Dmitry Mityugov.


Revision tags: curl-7_16_3, curl-7_16_2, curl-7_16_1, curl-7_16_0
# dc7c9155 08-Sep-2006 Yang Tse

Compilation fix


# b7eeb6e6 07-Sep-2006 Daniel Stenberg

Major overhaul introducing http pipelining support and shared connection
cache within the multi handle.


Revision tags: curl-7_15_6-prepipeline
# ac02d379 08-Aug-2006 Gunter Knauf

moved ugly NetWare hack to hostip.h so that hostip.c uses it too.


Revision tags: curl-7_15_5
# 4e58da52 24-Jul-2006 Gisle Vanem

Ares needs CURLRES_ADDRINFO_COPY. Curl_hostent_relocate() is gone.


# 5cdbd0cf 21-Jul-2006 Gisle Vanem

Constify arguments to Curl_he2ai() and Curl_addrinfo_copy().


# a55c70d4 21-Jul-2006 Gisle Vanem

Constify 'hostname' and 'service' to various resolver functions.


# d2cefc14 14-Jul-2006 Yang Tse

Change the ai_addrlen type of struct addrinfo from size_t to socklen_t, per RFC 3493.


# 55138753 04-Jul-2006 Yang Tse

Test HAVE_GETNAMEINFO definition before using GETNAMEINFO_XXX definitions.


# 43369b80 03-Jul-2006 Yang Tse

Fix compiler warning.


Revision tags: curl-7_15_4
# c1e307f5 11-Apr-2006 Daniel Stenberg

added docs and removed proto


# 686d9074 10-Apr-2006 Daniel Stenberg

First curl_multi_socket() commit. Should primarily be considered as an internal
code rearrange to fit the future better.


Revision tags: curl-7_15_3, curl-7_15_2
# 6fdbb011 23-Feb-2006 Daniel Stenberg

Lots of work and analysis by "xbx___" in bug #1431750
(http://curl.haxx.se/bug/view.cgi?id=1431750) helped me identify and fix two
different but related bugs:

1) Removing an easy han

Lots of work and analysis by "xbx___" in bug #1431750
(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.

show more ...


# b15f3bb9 11-Dec-2005 Yang Tse

Undo last changes


# 36485e56 11-Dec-2005 Yang Tse

Fix compiler warning and compatibility issue with the type of the parameter used in getnameinfo() to receive the length of the sockaddr struct.


Revision tags: curl-7_15_1, curl-7_15_0, curl-7_14_1, c-ares-1_3_0, curl-7_14_0, curl-7_13_2
# 9b3c2b6a 04-Apr-2005 Daniel Stenberg

kill warnings


# 0b454311 04-Apr-2005 Gisle Vanem

hostthre.c: destroy_thread_data() made public. Called
from url.c: Curl_disconnect().


Revision tags: curl-7_13_1
# 6a2e21ec 09-Feb-2005 Daniel Stenberg

FTP code turned into state machine. Not completely yet, but a good start.
The tag 'before_ftp_statemachine' was set just before this commit in case
of future need.


Revision tags: before_ftp_statemachine
# d1183129 08-Feb-2005 Gisle Vanem

Curl_addrinfo?_callback() and addrinfo_callback() now returns
CURLE_OK or CURLE_OUT_OF_MEMORY.
Add typecast in hostares.c.


Revision tags: curl-7_13_0
# 043d70fc 25-Jan-2005 Daniel Stenberg

Use plain structs and not typedef'ed ones in the hash and linked-list code.


123456