1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-11-21 05:15:57 +00:00
Commit Graph

1541 Commits

Author SHA1 Message Date
efdd616118 timeoffset: made static and private
ares__timeoffset() was only used once within this single source file
2013-08-27 13:06:57 +02:00
30c9031afa timeadd: make static
ares__timeadd() was only ever used from within the same source
2013-08-27 13:02:35 +02:00
742e234855 xc-am-iface.m4: comments refinement 2013-07-18 16:03:21 +02:00
68b3c67e61 configure: fix 'subdir-objects' distclean related issue
See XC_AMEND_DISTCLEAN comments for details.
2013-07-18 04:20:31 +02:00
d69ae9c6f8 configure: automake 1.14 compatibility tweak (use XC_AUTOMAKE) 2013-07-09 00:10:38 +02:00
9540d48184 xc-am-iface.m4: provide XC_AUTOMAKE macro 2013-07-09 00:07:27 +02:00
f8a2354016 gitignore: ignore all ares_*pdf but also CHANGES.dist 2013-05-12 16:10:47 +02:00
1c948a70b1 bump: start working towards 1.10.1 2013-05-12 16:09:32 +02:00
46fa9cad79 RELEASE-NOTES: two more bug fixes cares-1_10_0 2013-05-12 15:35:42 +02:00
09be3edf3a ares_set_servers_csv: fixed IPv6 address parsing
Fixed bug that caused the last part of an IPv6 address to be parsed as
the port number when the last part is all numeric.
2013-05-12 15:23:43 +02:00
03e2fd085c nroff: fix two syntax mistakes
ares_parse_a_reply and ares_parse_aaaa_reply both had two \fB instead of
\fP

Reported-by: Alexander Klauer
Bug: http://c-ares.haxx.se/mail/c-ares-archive-2013-03/0010.shtml
2013-05-02 23:11:13 +02:00
df55bfac79 build: fix build on msvc11 2013-05-02 22:46:48 +02:00
3f0ec4733e Makefile.am: increment -version-info for 1.10.0 release 2013-04-23 16:44:56 +02:00
76ef032fd0 README: remove unnecessary comment 2013-04-23 00:33:24 +02:00
58a822231c ares_version.h: copyright end range year is now 2013 2013-04-23 00:32:51 +02:00
c727dcb924 RELEASE-NOTES: synced with fb0737f3a0 2013-04-23 00:31:14 +02:00
fb0737f3a0 ares_parse_aaaa_reply: Plug memory leak
This change is similar to ares_parse_a_reply.c in commit
bffd67f16a
2013-04-22 23:54:40 +02:00
b5135bbc66 ares_parse_txt_reply: return a ares_txt_reply node for each sub-string
Previously, the function would wrongly return all substrings merged into
one.
2013-04-22 23:32:02 +02:00
9a92b80191 library init: documentation update
This commit updates the documentation of ares_library_init() and
ares_library_cleanup() with regard to the newly introduced reference
counting of initializations and deinitializations.
2013-04-22 23:26:01 +02:00
2e0c3076e5 library init: be recursive
Previously, a single call to ares_library_cleanup() would deinitialise
the c-ares library, regardless of how many times ares_library_init() was
called. This behaviour may cause problems in programs linking two or
more libraries which, in turn, use c-ares. The present commit fixes this
problem, deinitializing the library only after a number of calls to
ares_library_cleanup() matching the number of calls to
ares_library_init().
2013-04-22 23:24:50 +02:00
148c8e0353 protocol parsing: check input data stricter
... so that bad length fields aren't blindly accepted

Bug: http://c-ares.haxx.se/mail/c-ares-archive-2013-04/0016.shtml
2013-04-15 22:28:01 +02:00
2004a7a111 Create ares_build.h when buidling from Git. 2013-04-11 14:08:51 +02:00
c95041c6a1 Added -DCARES_STATICLIB to CFLAGS.
Currently this static makefile does only support building the
static library libcares.a.
2013-04-09 17:47:56 +02:00
483d49d060 .gitignore: ignore patch files
This commit adds a line to .gitignore to the effect that patch files
generated by 'git format-patch' are excluded from the repository.
2013-04-08 22:16:48 +02:00
1317a1c94b ares_destroy() documentation: no new requests
Clarify that no new requests may be added to a resolver channel that is
currently being destroyed.
2013-04-08 22:16:48 +02:00
fa19279bba Documentation: properly document ARES_ECANCELLED
This commit clarifies the behaviour of ares_cancel() with respect to
callbacks and adds missing documentation of ARES_ECANCELLED to the man
pages of the affected functions.
2013-04-08 22:16:48 +02:00
54faf09da6 ares_cancel(): cancel requests safely
An invocation of ares_cancel() walks through the request list, calling
the callbacks of all pending requests on a channel. Previously, if such
a callback added a new request to the channel, the request list might
not end up empty, causing an abort by assertion failure. The present
commit ensures that precisely all requests present upon entry of
ares_cancel() are cancelled, and that adding new requests through
callbacks is safe.
2013-04-08 22:16:48 +02:00
127d4cb357 ares.h: stricter CARES_EXTERN linkage decorations logic
No API change involved.
2013-03-10 21:28:35 +01:00
8f3f059f33 ares_build.h.dist: enhance non-configure GCC ABI detection logic
GCC specific adjustments:

- check __ILP32__ before 32 and 64bit processor architectures in
  order to detect ILP32 programming model on 64 bit processors
  which, of course, also support LP64 programming model, when using
  gcc 4.7 or newer.

- keep 32bit processor architecture checks in order to support gcc
  versions older than 4.7 which don't define __ILP32__

- check __LP64__ for gcc 3.3 and newer, while keeping 64bit processor
  architecture checks for older versions which don't define __LP64__
2013-03-10 21:28:35 +01:00
57203b14df ares.h: there is no ares_free_soa function 2013-03-09 16:48:28 +01:00
a2881fee6b Makefile.am: empty AM_LDFLAGS definition for automake 1.7 compatibility 2013-03-09 13:58:35 +01:00
60cad73007 ares_inet_ntop.3: s/socklen_t/ares_socklen_t 2013-03-08 14:13:21 +01:00
715b499c79 configure: use XC_LIBTOOL for portability across libtool versions 2013-03-08 13:22:33 +01:00
f454e82dc7 xc-lt-iface.m4: provide XC_LIBTOOL macro 2013-03-08 13:22:31 +01:00
320c4eb659 Makefile.am: use AM_CPPFLAGS instead of INCLUDES 2013-02-19 14:14:09 +01:00
9ed49f3e17 inet_ntop.c: s/socklen_t/ares_socklen_t 2013-02-19 13:54:28 +01:00
b82874ad6f inet_ntop.c: s/socklen_t/ares_socklen_t for portability 2013-02-19 13:27:33 +01:00
ecf6f65b43 ares.h: s/socklen_t/ares_socklen_t for portability 2013-02-19 13:00:36 +01:00
f4dce2e9f0 ares_inet_ntop.3: 4th argument is socklen_t! 2013-02-17 19:18:54 +01:00
07bbbd85c3 spell inet correctly! 2013-02-17 17:51:37 +01:00
cf7ad9758d ares_inet_pton/ntop: cleanup
Make sure that the symbols are always exported and present in c-ares.

Make the headers prefixed with 'ares'.

Removed the inet_ntop.h version as it no longer features any content.
2013-02-17 17:44:02 +01:00
ee9a1c2457 ares_inet_ntop/ares_inet_pton: added man pages 2013-02-17 17:44:02 +01:00
8d013420a0 curl_setup_once.h: definition of HAVE_CLOSE_S defines sclose() to close_s() 2013-02-15 02:36:20 +01:00
c28e6d98db config-dos.h: define HAVE_CLOSE_S for MSDOS/Watt-32 2013-02-15 02:36:19 +01:00
e9bca998f9 config-dos.h: define strerror() to strerror_s_() for High-C 2013-02-15 02:36:11 +01:00
050663271e ares_get_datatype: removed unused function
it was also wrongly named as internal functions require two underscores
2013-02-13 14:58:04 +01:00
2a3a63ae1f ares__bitncmp: use two underscores for private functions
It used a single one previously making it look like a public one
2013-02-13 14:58:04 +01:00
9c03cc118c ares__generate_new_id: moved to ares_query.c
... and ares__rc4 is turned into a local static function.
2013-02-13 14:58:04 +01:00
3217c7eef2 ares__swap_lists: make private and static
... since there's only one user, make it static within ares_process.c
2013-02-13 14:58:04 +01:00
be6e6984b5 Makefile.msvc: add four VS version strings 2013-02-13 13:03:44 +01:00