History log of /openbsd-src/lib/libc/asr/getnameinfo_async.c (Results 1 – 15 of 15)
Revision Date Author Comments
# caf7b7a2 21-Dec-2020 eric <eric@openbsd.org>

Always call endservent_r() after getservbyport_r().
Fix a memory leak when no entry is matched.

ok florian


# 515e489c 03-Jul-2019 deraadt <deraadt@openbsd.org>

snprintf/vsnprintf return < 0 on error, rather than -1.


# f6f51dad 23-Feb-2017 eric <eric@openbsd.org>

Put a common subq pointer in the query struct, rather than one in each
element of the union.

ok gilles@ millert@ krw@


# a55a423a 20-Sep-2015 eric <eric@openbsd.org>

remove bogus includes of err.h


# 5826fd8c 14-Sep-2015 guenther <guenther@openbsd.org>

Wrap <asr.h> so internal calls go direct and all the symbols are weak


# 253ef892 09-Sep-2015 deraadt <deraadt@openbsd.org>

Hide all unnecessary asr / resolver related API with _ prefixes.
direction & ok guenther


# d216d6b1 26-Mar-2014 eric <eric@openbsd.org>

Make the asr API public. Install asr.h to /usr/include.h and manpages.
Include tweaks suggested by mpi@

ok deraadt@


# 5be03f8f 25-Mar-2014 eric <eric@openbsd.org>

Cleanup and simplify the API to be exposed. Use better names for
structures, functions and defines.

discussed with and ok deraadt@ guenther@


# 5bd9e5c2 12-Jul-2013 eric <eric@openbsd.org>

Make some symbols static and prefix all visible symbols with asr_
to prevent collisions with third-party programs.

suggested by sthen@, ok theo@


# 78a9ca1a 29-Mar-2013 eric <eric@openbsd.org>

correctly show the scope for IPv6 addresses in getnameinfo()


# 80f48568 24-Nov-2012 eric <eric@openbsd.org>

knf


# 836b804a 19-Aug-2012 eric <eric@openbsd.org>

When building dynamic hostent and netent, allocate a single linear buffer to
hold both the structure and the data. The freehostent() and freenetent() API
functions are not needed anymore. While ther

When building dynamic hostent and netent, allocate a single linear buffer to
hold both the structure and the data. The freehostent() and freenetent() API
functions are not needed anymore. While there, ensure that the constructed
addr and alias lists are really NULL terminated.

show more ...


# 4a508230 18-Aug-2012 eric <eric@openbsd.org>

Improve error reporting in getnameinfo_async() and getaddrinfo_async().
They do not have to deal with h_errno at all. Also, errno is only kept
for EAI_SYSTEM. Small code cleanup while there.

Adapt

Improve error reporting in getnameinfo_async() and getaddrinfo_async().
They do not have to deal with h_errno at all. Also, errno is only kept
for EAI_SYSTEM. Small code cleanup while there.

Adapt getnameinfo() and getaddrinfo() wrappers to correctly save errno
and overwrite it in the EAI_SYSTEM case.

General errno handling issue reported by mikeb@.

show more ...


# beabf062 25-Apr-2012 eric <eric@openbsd.org>

fix a few warnings


# b44da627 14-Apr-2012 eric <eric@openbsd.org>

Import asr, an experimental async resolver implementation.
The idea is to eventually replace the existing resolver with
something better. Time to start working on it in tree.

ok deraadt@