Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-03-29 | res_querydomain()'s code to terminate the domain with '.' had the assignment | Philip Guenther | |
flipped so that it always used a domain of ".." Heavy lifting by otto@ ok eric@ otto@ miod@ | |||
2013-03-29 | correctly show the scope for IPv6 addresses in getnameinfo() | Eric Faurot | |
2013-03-29 | Do not fail in gethostbyname_async() if there are multiple addresses in | Eric Faurot | |
a DNS packet... | |||
2013-03-28 | accept and use any protocol specified by the caller. | Eric Faurot | |
issue spotted by naddy@ | |||
2013-03-27 | explicitely -> explicitly; | Jason McIntyre | |
2013-03-27 | Only use the search domains for DNS lookups, as the current resolver does. | Eric Faurot | |
Better not diverge too much in behavior at this point. Typo fix and doc update while there. | |||
2012-12-17 | Allow gethostbyname() to accept a numeric IP string. | Eric Faurot | |
No lookup is done in this case. regression reported by espie@ | |||
2012-11-24 | Saner implementation for self-contained hostent and netent, and also | Eric Faurot | |
a couple of fixes. | |||
2012-11-24 | knf | Eric Faurot | |
2012-11-24 | make separate structures for pack and unpack | Eric Faurot | |
2012-09-09 | tweak options | Eric Faurot | |
2012-09-09 | allow to disable some features at build time | Eric Faurot | |
2012-09-09 | cleanup asr_debug.c | Eric Faurot | |
2012-09-09 | use proper macros for debug traces. | Eric Faurot | |
2012-09-08 | split asr_resolver.c into different files to overlay the libc/net | Eric Faurot | |
resolver implementation. | |||
2012-09-07 | return value has no use; make it void. | Eric Faurot | |
fix comment. | |||
2012-09-07 | unused variables | Eric Faurot | |
2012-09-06 | config parsing is done in one pass now. no need to use callback anymore. | Eric Faurot | |
2012-09-06 | include yp headers if necessary. | Eric Faurot | |
remove unused variable. | |||
2012-09-06 | make it easy to build without debug code | Eric Faurot | |
2012-09-06 | add a strsplit() helper to factorize code a bit. | Eric Faurot | |
2012-09-06 | YP is now supported. | Eric Faurot | |
2012-09-06 | remove unused member, reorganize a bit and sync manpage. | Eric Faurot | |
2012-09-05 | Get rid of the hostaddr_async subquery and merge its behaviour | Eric Faurot | |
directly into getaddrinfo_async_run. Simplifies everything by a great deal. | |||
2012-09-05 | Implement basic (blocking) YP support for getaddrinfo_async(). | Eric Faurot | |
YP is now supported on all relevant resolver functions. | |||
2012-09-05 | Make hostaddr_async() return a linked list of struct addrinfo. First | Eric Faurot | |
round of a getaddrinfo_async() simplification. The goal is to make YP support easier to add, and eventually remove the whole hostaddr_async subquery. | |||
2012-09-04 | implement basic YP support for gethostbyname_async()/gethostbyaddr_async() | Eric Faurot | |
by using the blocking YP API internally. | |||
2012-08-19 | Build static netent and hostent structure in a nicer and hopefully not | Eric Faurot | |
broken way. Make it almost trivial to implement gethostby*_r() family of functions when needed. | |||
2012-08-19 | When building dynamic hostent and netent, allocate a single linear buffer to | Eric Faurot | |
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. | |||
2012-08-18 | ensure that async_run() and async_run_sync() always preserve errno. | Eric Faurot | |
2012-08-18 | getrrsetyname() only uses ERRSET_* and is not supposed to set errno. | Eric Faurot | |
make sure to save and restore errno properly. | |||
2012-08-18 | Simplify error reporting in hostaddr_async(). Only use EAI_* error codes. | Eric Faurot | |
2012-08-18 | Improve error reporting in getnameinfo_async() and getaddrinfo_async(). | Eric Faurot | |
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@. | |||
2012-07-29 | must be zero'd (found by regress) | Eric Faurot | |
2012-07-13 | properly report EAI_SERVICE when the given servname is not defined for | Eric Faurot | |
the given protocol. | |||
2012-07-12 | unused variables | Eric Faurot | |
2012-07-11 | implement res_mkquery | Eric Faurot | |
2012-07-10 | same code update and fix as for gethostnamadr_async | Eric Faurot | |
2012-07-10 | simplify the code, improve error handling and plug a potential fd leak on error | Eric Faurot | |
2012-07-10 | use the value actually passed to the function | Eric Faurot | |
2012-07-10 | Better handling of servname in getaddrinfo_async. Do not necessarily | Eric Faurot | |
fail if there is no entry for a given protocol. Fix issue reported by early testers. | |||
2012-07-08 | implement res_querydomain() required by sendmail | Eric Faurot | |
2012-07-08 | add stub function for gethostent(), and move things around a bit while here. | Eric Faurot | |
2012-07-07 | rename function to avoid symbol clash | Eric Faurot | |
2012-07-07 | remove bogus include of bsd.lib.mk | Eric Faurot | |
2012-04-25 | fix a few warnings | Eric Faurot | |
2012-04-15 | Create a new resolver for each thread. It will be done differently | Eric Faurot | |
eventually, but it's enough for now to make the blocking API fully thread-safe without locking. | |||
2012-04-15 | calling getnameinfo here is a bad idea. use inet_ntop. | Eric Faurot | |
2012-04-15 | tweak previous; | Jason McIntyre | |
2012-04-14 | only define DEBUG internally | Eric Faurot | |