d2f21d37b1
ares_reinit()
...
- To allow an app to force a re-read of /etc/resolv.conf etc, pretty much
like the res_init() resolver function offers
2010-02-17 22:15:23 +00:00
8b6f71ce95
- Tommie Gannert pointed out a silly bug in ares_process_fd() since it didn't
...
check for broken connections like ares_process() did. Based on that, I
merged the two functions into a single generic one with two front-ends.
curl-7_20_0
2010-01-28 22:03:48 +00:00
004c2e3400
VMS specific preprocessor symbol checking adjustments
2009-12-30 17:59:56 +00:00
92dcb407d6
Mention last changes
2009-12-29 02:32:12 +00:00
58d9b0c1bd
- Fix configure_socket() to use ares_socket_t instead of int data type.
2009-12-29 02:04:17 +00:00
bb3f003b83
- Where run-time error checks enabling compiler option /GZ was used it is now
...
replaced with equivalent /RTCsu for Visual Studio 2003 and newer versions.
- Compiler option /GX is now replaced with equivalent /EHsc for all versions.
2009-12-29 01:51:57 +00:00
c2d3f7986b
- Ingmar Runge noticed that Windows config-win32.h configuration file
...
did not include a definition for HAVE_CLOSESOCKET which resulted in
function close() being inappropriately used to close sockets.
2009-12-21 16:55:39 +00:00
df279b133c
start working on 1.7.1
2009-11-30 22:39:04 +00:00
103dec073e
Preserve empty line following last target
cares-1_7_0
2009-11-27 05:24:44 +00:00
57e48c4cf1
- Larry Lansing fixed ares_parse_srv_reply to properly parse replies
...
which might contain non-SRV answers, skipping over potential non-SRV
ones such as CNAMEs.
2009-11-26 01:21:21 +00:00
4bc98ca85c
When using icc, compile with -fpic and link with intel dynamic libraries.
2009-11-24 16:12:23 +00:00
85df26919c
Added 'currently' in italics to insist on transient situation.
2009-11-24 10:08:45 +00:00
6eb75a6c53
Fix language
2009-11-24 09:48:32 +00:00
612a29311a
Daniel wants upcoming release to be 1.7.0
2009-11-23 12:03:32 +00:00
dc4528e672
Mention last changes
2009-11-23 11:35:53 +00:00
1479db32aa
- Removed from external interface preprocessor symbol definition for
...
CARES_HAVE_ARES_FREE_DATA. Current functionality of ares_free_data()
makes it unnecessary.
2009-11-23 11:26:29 +00:00
004e6510ae
Added README.msvc
2009-11-23 11:07:16 +00:00
9084888dca
Changed c-ares naming conventions when using MSVC as described in README.msvc
2009-11-23 11:05:47 +00:00
96d3205622
- Mention other recent changes
2009-11-23 01:54:55 +00:00
36b26039ac
- Jakub Hrozek renamed addrttl and addr6ttl structs to ares_addrttl and
...
ares_addr6ttl in order to prevent name space pollution, along with
necessary changes to code base and man pages.This change does not break
ABI, there is no need to recompile existing applications. But existing
applications using these structs with the old name will need source code
adjustments when recompiled using c-ares 1.6.1.
2009-11-23 01:24:17 +00:00
497afa9acb
- Jakub Hrozek fixed more function prototypes in man pages to sync them
...
with the ones declared in ares.h
2009-11-23 00:57:50 +00:00
17e6785e05
Make configure remove the ares_build.h file included in distribution tarballs.
2009-11-22 05:31:31 +00:00
912857c6f3
Fix macro redefinition.
2009-11-22 03:51:07 +00:00
c1f141596e
Fix name space pollution.
2009-11-22 03:41:26 +00:00
ff90f9dc28
Allow using different extra import libraries for debug and release builds.
2009-11-22 03:40:42 +00:00
29e173dcff
Add manifest stuff to msvc makefile
2009-11-21 13:28:07 +00:00
f854ecb90b
Sync man page with reality
2009-11-20 14:15:05 +00:00
7a7befd37b
Add missing external API decoration for ares_set_socket_callback()
2009-11-20 14:11:06 +00:00
d1151affce
Add ares_free_data() man page.
2009-11-20 13:02:41 +00:00
dbd45c1539
- Provide in external interface preprocessor symbol definitions for
...
CARES_HAVE_ARES_FREE_DATA as an indication of function availability.
2009-11-20 13:01:35 +00:00
f2cdd32a4f
Remove typecast
2009-11-20 09:57:25 +00:00
09aadd57e6
Fix comment
2009-11-20 09:54:15 +00:00
3e66eb8702
Add ares_data.c and ares_data.h
2009-11-20 09:14:37 +00:00
5d62fe703f
Jakub Hrozek modified ares_parse_srv_reply() and ares_parse_txt_reply() API
...
to return a linked lists of results. These were also modified to internally
use the ares_data memory struct and as such its result must be free'ed with
ares_free_data().
2009-11-20 09:06:33 +00:00
2a916ce6e5
Initial support for the generic ares_free_data() function that will allow
...
applications to free memory allocated and returned by some c-ares funtions.
2009-11-20 08:50:03 +00:00
10461d1414
Make usage of calloc()'s arguments consistent with rest of code base
2009-11-18 10:33:54 +00:00
f157b574a9
workaround icc 9.1 optimizer issue
2009-11-18 02:57:34 +00:00
cf38264e2a
Add icc fvisibility bug test
2009-11-16 23:01:37 +00:00
b47af62e75
Fix icc 9.0 compiler warning: external definition with no prior declaration
2009-11-16 20:02:12 +00:00
c4ee4a5d21
Fix three var names
2009-11-16 01:56:16 +00:00
61e686b65f
Add check for assert.h header file
2009-11-16 01:55:48 +00:00
afa62136a5
getaddrinfo is fully thread safe on solaris versions which
...
implement the function even when h_errno is not a macro.
The h_errno macro test now only done on systems for which there
is no hard coded knowledge about getaddrinfo's thread safeness.
2009-11-15 13:43:15 +00:00
e6c2fe9f75
Remove files generated on previous buildconf/configure run
2009-11-15 03:47:13 +00:00
3bf689197b
Remove enable-thread / disable-thread configure option. These were only placebo
...
options. The library is always built as thread safe as possible on every system.
2009-11-15 02:45:24 +00:00
e43ac04a1f
Refactor how preprocessor symbol _THREAD_SAFE definition is done.
2009-11-14 18:51:37 +00:00
ccabe949dd
Assume that getaddrinfo is thread safe, unless hard coded
...
knowledge says the contrary or h_errno is not defined.
2009-11-13 20:03:45 +00:00
3d2e078f2b
Related with the threadsafe capability of getaddrinfo:
...
- Constantine Sapuntzakis reported that Darwin 6.0 a.k.a. MAC OS X 10.2
and newer have a threadsafe getaddrinfo.
- Fix Dragonfly BSD triplet detection.
- In case the hard-coded knowledge says that getaddrinfo is threadsafe,
an additional check is done to verify that h_errno is also defined.
If h_errno isn't defined, we finally assume that it isn't threadsafe.
Jamie Lokier provided the inspiration for this extra check.
2009-11-13 05:01:51 +00:00
f5b37120f3
AIX 5.2 and newer have threadsafe getaddrinfo.
...
Add some comments to better understand what the regex's pretend to achieve.
2009-11-12 22:48:40 +00:00
f084328b48
HP-UX 11.11 and later have threadsafe getaddrinfo
2009-11-12 20:29:28 +00:00
109c17b680
Check if getaddrinfo is threadsafe when function check allows it to be used
2009-11-12 18:31:33 +00:00