summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-12-15cares-functions.m4: update thread-safeness detection of getaddrinfo()Yang Tse1-7/+47
Take in account that POSIX standard Issue 7 drops h_errno support. Now, we also consider getaddrinfo() to be thread-safe when (_POSIX_C_SOURCE >= 200809L) or (_XOPEN_SOURCE >= 700) independently of whether h_errno exists or not. Take in account that h_errno might be a modifiable lvalue not defined as a C preprocessor macro.
2012-12-14setup_once.h: HP-UX <sys/socket.h> issue workaroundYang Tse1-0/+20
Issue: When building a 32bit target with large file support HP-UX <sys/socket.h> header file may simultaneously provide two different sets of declarations for sendfile and sendpath functions, one with static and another with external linkage. Given that we do not use mentioned functions we really don't care which linkage is the appropriate one, but on the other hand, the double declaration emmits warnings when using the HP-UX compiler and errors when using modern gcc versions resulting in fatal compilation errors. Mentioned issue is now fixed as long as we don't use sendfile nor sendpath functions.
2012-12-14setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse28-99/+9
Inclusion of these two header files now done in setup_once.h
2012-12-14Header inclusion clean-upYang Tse35-120/+5
Remove header inclusions already done in setup_once.h
2012-12-12setup_once.h: HP-UX specific TRUE and FALSE definitionsYang Tse1-0/+12
Some HP-UX system headers require TRUE defined to 1 and FALSE to 0.
2012-12-10ares_timeout.c: fix compiler warningYang Tse1-2/+7
2012-11-23ares_create_query.c: IRIX compilation fixYang Tse1-1/+5
2012-11-23c-ares/nameser.h: add some T_* defines for ns_t_* valuesYang Tse1-0/+8
2012-11-07Revert "ares_parse_aaaa_reply: fix memory leak"Daniel Stenberg1-1/+0
This reverts commit 50f25d8a4b2d16f4c5e0ef620238688b7a315c7a.
2012-10-30Imported Upstream version 1.7.5upstream/1.7.5Anas Nashif207-0/+97251
2012-10-02ares_parse_aaaa_reply: fix memory leakDaniel Stenberg1-0/+1
an allocated buffer was not freed in the successful case.
2012-08-24adig: perror() doesn't work for socket errors on windowsGisle Vanem1-2/+2
... so print the SOCKERRNO instead
2012-08-23get_DNS_AdaptersAddresses: fix IPv6 parsingDaniel Stenberg1-1/+1
Use of the wrong define made the function not parse IPv6 addresses properly. Bug: http://c-ares.haxx.se/mail/c-ares-archive-2012-06/0028.shtml Reported by: Saúl Ibarra Corretgé
2012-08-21version: bumped to 1.10.0Daniel Stenberg1-3/+3
Due to the newly added function: ares_create_query()
2012-08-21AUTHORS: synced with 83093ac450Daniel Stenberg1-0/+21
Added 21 authors since this document was last updated
2012-08-17ares_create_query.3: mention when this is addedDaniel Stenberg1-2/+4
2012-08-17Added new feature (rfc2671)hpopescu@ixiacom.com12-185/+366
2012-07-26code police: fix indents, < 80 columns, reflowed commentsDaniel Stenberg1-78/+73
2012-07-11Cleaned up version awk script.Guenter Knauf1-24/+16
2012-06-30read_udp_packets: bail out loop on bad socketsGisle Vanem1-7/+13
I can see that recvfrom() in ares_process.c many times is called with 'udp_socket' == ARES_SOCKET_BAD. The code takes care not to call recv/recvfrom with ARES_SOCKET_BAD in the outer-loop. So should the inner-loop.
2012-06-29cares-compilers.m4: remove -Wstrict-aliasing=3 from clangYang Tse1-4/+1
Currently it is unknown if there is any version of clang that actually supports -Wstrict-aliasing. What is known is that there are several that don't support it.
2012-06-26cares-compilers.m4: -Wstrict-aliasing=3 for warning enabled gcc and clang buildsYang Tse1-1/+7
2012-06-18version: work towards 1.9.2 (at least)Daniel Stenberg1-2/+2
2012-06-18RELEASE-NOTES: 1.9.1 coming upDaniel Stenberg1-8/+3
2012-06-16ares_version.h: next version is 1.9.0Daniel Stenberg1-3/+3
2012-06-16ares_data.h: ARES_DATATYPE_SOA_REPLY is added in 1.9.0Marko Kreen1-2/+2
2012-06-15RELEASE-NOTES: synced with 979bf951dDaniel Stenberg1-4/+5
Next release deemed to become 1.9.0 due to the new function
2012-06-15SOA parser addedMarko Kreen7-1/+261
I need to do SOA queries, so here is a parser for them. - ares_soa_reply: new struct - ares_malloc_data/ares_free_soa: ARES_DATATYPE_SOA_REPLY - ares_parse_soa_reply: actual function
2012-06-14Kill compiler warningYang Tse4-9/+30
2012-05-25Fix libcares.pc generation for static MingW* cross buildsYang Tse2-1/+4
2012-05-21Fix UDP and TCP port byte order in saved options.Nick Alcock1-2/+2
The UDP and TCP port are stored in network byte order in the ares_channeldata, but are passed in to ares_init_options() in host byte order. Thus we must return them from ares_save_options() in host byte order too, or a duplicated channel will convert them again, leading to a nonfunctional channel and a mysterious connection refused error from ares_gethostbyname(). This breaks ares_dup(), thus the curl easy API when c-ares is used by curl, and thus all the curl easy API's users.
2012-04-28version: start working on 1.8.1-DEVYang Tse2-18/+7
2012-04-27RELEASE-NOTES: call next 1.8 insteadDaniel Stenberg1-1/+1
Since we added a function, let's use a stricter bumping scheme
2012-04-25INSTALL: some adjustmentsYang Tse1-6/+4
2012-04-25GIT-INFO: mention buildconfDaniel Stenberg1-0/+2
2012-04-25INSTALL: remove more sections that don't apply to c-aresYang Tse1-576/+12
2012-04-25ares_timeout.c: fix compiler warningYang Tse1-10/+11
2012-04-25Makefile.m32: fix mingw32 buildBen Noordhuis1-2/+3
* add . to include path so ares_build.h is picked up * make ar configurable to ease cross-compiling
2012-04-22RELEASE-NOTES: added what's happened since 1.7.5Daniel Stenberg1-5/+15
2012-04-22Updated copyright year.Guenter Knauf1-1/+1
2012-04-21ares_init.c: Further refactoring of Windows system's DNS fetching codeYang Tse1-181/+369
2012-04-20Android: small changes to dns property part.Guenter Knauf1-8/+9
Prefix prop vars; kill var; use DNS_PROP_NAME_PREFIX macro.
2012-04-19Handle CNAME-only in ares_parse_aaaa_reply().Guenter Knauf1-1/+3
posted to the c-ares list by Peter Griess <pg@std.in>.
2012-04-19Add support for multiple DNS servers on Android.Guenter Knauf1-3/+15
Before, c-ares always used the first DNS server on Android, causing network problems if this DNS server was not available. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
2012-04-19Added INSTALL so it gets into tarballs.Guenter Knauf1-1/+1
2012-04-17Added some more ifdefs to silent compiler warnings.Guenter Knauf1-9/+10
2012-04-17INSTALL: remove a non c-ares sectionYang Tse1-28/+0
2012-04-17cares-compilers.m4: -Wno-pedantic-ms-format for Windows gcc 4.5 buildsYang Tse1-1/+10
When building a Windows target with gcc 4.5 or newer and strict compiler warnings enabled use -Wno-pedantic-ms-format in addition to other flags.
2012-04-17setup_once.h: tighten requirements for stdbool.h header inclusionYang Tse1-3/+2
Include stdbool.h only when it is available and configure is capable of detecting a proper 'bool' data type when the header is included.
2012-04-17configure: NATIVE_WINDOWS no longer defined in config fileYang Tse1-6/+1